[fpc-devel] Ansistring and General Memory Management - Questions

2007-02-14 Thread Jason P Sage
I've read about the heap manager, I know that ansistring's behave well in multi-threaded apps - if you do your house keeping, but I'm trying to track a memory leak - and I have a question. I appreciate any and all responses, and I'm basically looking for validation or to be corrected. If I

Re: [fpc-devel] Ansistring and General Memory Management - Questions

2007-02-14 Thread Jonas Maebe
On 14 feb 2007, at 17:14, Jason P Sage wrote: If I allocate a large number of ansistrings of random lengths, change lengths, and then set them all to empty like this: MyAnsi:='' Does the heap release all that memory or does it hang on to it to reuse the various chunks that are not in use