We make fairly heavy use of memory pools, which probably reduce malloc.  I suspect that using them is of little benefit but would be interested to hear to the contrary.

On Feb 24, 2015, at 2:15 PM, Tamas Jalsovszky <jalsot@gmail.com> wrote:

Great idea. Do you have any evidence whether other malloc libs (tcmalloc, jemalloc) gives better performance over glibc ones?

T.

On Wed, Feb 18, 2015 at 5:13 PM, Brian West <brian@freeswitch.org> wrote:
The webpage for TCMalloc states:

You can use tcmalloc in applications you didn't compile yourself, by using LD_PRELOAD:

   $ LD_PRELOAD="/usr/lib/libtcmalloc.so" blahblah


On Wed, Feb 18, 2015 at 9:59 AM, Ali Pey <alipey@gmail.com> wrote:
Hello,

Is there a way to switch to TCMalloc without recompiling freeswitch?

Can someone please point me to (or provide) some instructions? (Preferably for Centos 6)