[fpc-devel]Problems with AnsiStrings (memory leak)
Marco van de Voort
marcov at stack.nl
Sun Nov 19 23:20:03 CET 2000
> You see, never more memory than 3 times the real string is used (15 kb
> in my example and not >1 mb). Of course I don't know enough about
> memory organisation in fpc, but this seems quite logical to me. After
> two steps there should be always enough space left to re-use old
> What makes the problem? Do you have problems re-using previously
> allocated (and then freed) blocks?
Remerging old blocks is slow, and only done for the smallest blocks.
Since you are using Linux, you can try to use CMem as a
Marco van de Voort (MarcoV at Stack.nl or marco at freepascal.org)
More information about the fpc-devel