[fpc-devel] Memory consumed by strings

listmember listmember at letterboxes.org
Sun Nov 23 12:05:15 CET 2008

On 2008-11-23 12:50, Jonas Maebe wrote:
> On 23 Nov 2008, at 11:29, listmember wrote:
>>> It is not hard to tell that an app that works with text files (such
>>> as Lazarus) will consume 4 times more memory per file loaded.
>> But, how much memory does, say, Lazarus --itself-- consume
>> specifically for string storage when run for the first time?
>  From Matias' original answer: "For example the lazarus IDE typically
> holds 50 to 200mb sources in memory."
> I.e., at least 4 times 50 to 200mb.

This is my thick-day. So, permit me to ask this:

Are you really saying that strings occupy 50 MB Lazarus's memory footprint?

I just checked (using Process Explorer, under Windows) and this is what 
I see:

Working set: 2,216 K
Peak Working set: 26,988 K

I can't see where that 50 MB fits into that.

More information about the fpc-devel mailing list