This question already has an answer here:
- EXE Size is too big in Delphi XE2 2 answers
I just wrote a really short and simple code in Delphi with no even arrays neither data structures and when I compile it I get a 11 MB exe file, it was compiled for 32 bits architecture under RAD Studio X3 IDE for 64 bits.
I think this isn't optimal, even a jar would weigh less!
Are there any settings I can do so I get a smaller compiled? Maybe any units I can dismiss in the code?
Related
list before posting your question to see if it's been asked and answered here before. You should also at least make an effort to search the site; searching for[delphi] executable size
would have turned up both of the other links even if they weren't in theRelated
list. – Ken White 20 hours ago