[Lazarus] startlazarus and memory consumption

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jul 14 22:36:10 CEST 2009


On Tue, 14 Jul 2009 20:54:35 +0200
Graeme Geldenhuys <graemeg at opensoft.homeip.net> wrote:

> Vincent Snijders wrote:
> > 
> > It is to show the splash screen as soon as possible, not to wait
> > until yet another executable is loaded.
> 
> 
> Well then we are talking about milliseconds really. A splash screen
> is normally show just after the Application.Initialize call. Surely a
> few milliseconds shouldn't make a difference - in return for getting
> the startlazarus a bit "lighter" in memory usage department. 
> 
> I did a quick test and by removing splash screen support from
> startlazarus, I managed to shaved off 3-4MB of memory usage. It went
> down from 14MB to 10MB memory. I'd say that is worth the few
> milliseconds extra it takes for the Lazarus executable to show its
> own splash screen.

Please test on first run, when the OS has to load the lazarus exe from
disk.


Mattias




More information about the Lazarus mailing list