Hello!

I have a routine to add elements to a dynamic array using SetLength. The array is made of records, which have 2 pointer fields only (should be about 8 bytes per element). But I get an out of memory exception when inserting about 23000 elements, one by one in separate calls. I have 4GB of RAM and few apps loaded, so it shouldn't be a problem. I supposed it's a problem with memory fragmentation, so I added FastMM to "uses". That solved the problem, but does it mean Delphi 7's default memory manager is sucky?

Regards!
-Marco