Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Patch for linking jemalloc into mysqld

RIch Prohaska edited this page May 19, 2014 · 1 revision

The jemalloc library is able to manage memory for TokuDB a lot better than the lib mallocator with respect to keeping the mysqld RSS under control. Tokutek shipped a product that used LD_PRELOAD to preload the jemalloc library into mysqld in the mysqld_safe script. Unfortunately, this solution proved to be brittle and a lot of customers ended up running mysqld directly, and blew up their systems as the libc mallocator could not keep the mysqld RSS under control.

Tokutek now links jemalloc into mysqld.

Clone this wiki locally