[fpc-pascal] Question on how to avoid memory trouble
wsherman at gmail.com
Mon Feb 5 23:39:28 CET 2007
> I think that its great that the hornet's nest that I stirred up might
> mean that a new unit of container classes gets written...
> ...My trouble remains...
Getting a better containers unit is nice, but the root of the problem
seems to be the memory manager. Delphi's old memory manager had
fragmentation issues also. That is why NexusMM, BucketMM and FastMM we
created. FastMM is now included with Delphi as the main memory manager.
Not only does it solve memory fragmentation issues, it is much faster
than the old memory manager (especially in multithreaded apps).
FastMM is open source, has anyone ported it to FPC?
I seem to recall that when it began to be used in Delphi, it uncovered
lots of memory bugs in the IDE and runtime. When these were fixed,
Delphi became a much more stable product.
More information about the fpc-pascal