Hey, if you just simply leave -DUSE_SYSTEM_MALLOC from g++'s parameters it will compile with TCmalloc (as Stephan wrote TCSystemAlloc.cpp needs to be added to the project). /release mode/ Zoltan