[Lazarus] Large program size - 1.8 MB for empty GUI project

Paul Ishenin ip at kmiac.ru
Fri Apr 3 03:30:46 CEST 2009


Igor Tkachenko wrote:
> Hello everyone!
> 
> As stated in this article http://wiki.freepascal.org/Size_Matters 
> "Lazarus apps on Windows are about 500k, but quickly grow to 1.5 MB" 
> however I cannot made Lazarus to build empty application less than 1.8 
> MB. I've enabled option "Link Smart" at "Linking" tab of compiler 
> options as well as "Strip Symbols From Executable" and disabled "Display 
> line numbers in runtime..", however nothing helps to make empty 
> application less.
> 
> Does this mean that 1.8 MB is the size of empty Lazarus application now? 
> Or I do something wrong?

If you remove icon from project your application size reduce from 1.8 to 
1.5 MB.

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list