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

Kostas Michalopoulos badsector at slashstone.com
Fri Apr 3 09:56:06 CEST 2009

> This isn't such a big deal because hello world applications are
> useless, in real world applications you will need to use multiple
> components, have graphics support, use xml, etc, and those are already
> there, so your EXE size won't grow when you need them.

I had many times the need to make a small application that did some few 
basic tasks without using multiple components, having any kind of great 
graphics support, use xml and other things, which is common for making 
front-end GUI programs to command-line programs or libraries and Lazarus is 
ideal for this. In the end I just eat the extra garbage (because that's what 
they are when the program doesn't use them but carry them around) but I 
would prefer that this wasn't the case. As said by Paul, since this is 
something that is asked so often, it means people need it and research 
should be done on it.

Of course personally I would prefer dynamically linked packages so I can 
break large programs in DLLs and made (dynamic) plugins that use LCL 
possible much more than that.

Kostas "Bad Sector" Michalopoulos

More information about the Lazarus mailing list