Compiling MariaDB with TCMalloc
You are viewing an old version of this article. View
the current version here.
TCMalloc is a malloc library optimized for multi-threaded usage. Also, it features a built-in heap debugger and profiler.
To build MariaDB 5.5 with TCMalloc, you need to use the following command
cmake -DCMAKE_EXE_LINKER_FLAGS='-ltcmalloc' -DWITH_SAFEMALLOC=OFF
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.