Understanding the new memory manager in Delphi 2006
Posted: (EET/GMT+2)
Now that the newest version of Delphi 2006 (or, should I say Borland Developer Studio 2006 or 4.0) is here, the chances are you've heard of its new memory manager.
The original memory manager of Delphi was developed at Delphi 1/2 time, and since then only small updates have been applied to it. The original memory manager has server applications faithfully, but modern applications with their huge memory demands and multi-threaded architectures have shown the limits of this architecture.
Luckily, all this is changing with BDS 2006. Now, System.pas defined a implementation of the memory manager, which is based on the open-source FastMM project. BDN (Borland Developer Network) has an article about this new memory manager. To use it, you just need to rebuild your application with Delphi 2006.