[fpc-devel] Unit loading overhead

Marco van de Voort marcov at stack.nl
Sat Jul 17 20:55:44 CEST 2010

In our previous episode, Micha Nelissen said:
[ Charset ISO-8859-1 unsupported, converting... ]
> Marco van de Voort wrote:
> > In our previous episode, Micha Nelissen said:
> >> I think applications using 300MB+ are the exception, not the rule;
> > 
> > In absolute numbers: sure. In cases where memory management performance is
> > limiting, they are more likely to be memory intensive apps.
> How do you know?

The ones that benefit measurably a lot create *lots* of objects. Bigger apps
are more likely to allocate many objects. 

It is not a hard rule of course, specially, if you see the practice (like on
an avg Delphi forum), where people load gigantic db exports with
TStringsList.loadfromfile, eating twice the memory than the file is big,
with two allocations or so per line.

More information about the fpc-devel mailing list