[fpc-pascal] Question on how to avoid memory trouble

Peter Vreman peter at freepascal.org
Tue Feb 6 23:25:44 CET 2007


At 23:39 5-2-2007, you wrote:
>>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?

There are users that have got FastMM working with FPC. But it is not 
needed. The standard FPC heap manager is for single-threaded 
applications as fast as FastMM.


Peter




More information about the fpc-pascal mailing list