Introduction - If you have any usage issues, please Google them yourself
TBBMM - A Multicore Scalable Delphi and C++ Builder Memory Manager Replacement
FastMM was adopted by Borland / CodeGear (now Embarcadero) end of year 2005 as the default memory manager for Delphi and C++ Builder.
FastMM is fast, but...
FastMM does not scale well in a multi-threaded environment, especially when running under a machine with more than 1 core. It is quite surprising, considering one of CodeGear s main selling point with the new memory manager is that it has good scalability in multithreaded environment.
To FastMM s credit however (and I have tremendous respect for Pierre le Riche, the author of FastMM), it is about 10 faster than Microsoft Visual Studio s built-in memory manager in single-thread.
I came across this when I was doing some thing as simple as concatenating a string in multiple threads, trying to simulate a server which processes requests from multiple clients. Working my way to reproduce the problem with minimal code, I came up with this: