The practical limit for code size is determined by target processor on what it will be uploaded.
If you are referring to .HEX file size, do not represents properly the code size, once its content is formatted. See that: GENERAL: INTEL HEX FILE FORMAT