[fpc-devel] Memory consumed by strings

listmember listmember at letterboxes.org
Sun Nov 23 11:29:11 CET 2008


> I thought my example described just that. If strings use 4 bytes per
> char then ASCII text will need 4 times more memory.

I am not disputing that.

What I am curious about is: 4 times of what?

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?

This is what I am after.



More information about the fpc-devel mailing list