<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 24, 2015, at 2:15 PM, Tamas Jalsovszky <<a href="mailto:jalsot@gmail.com" class="">jalsot@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Great idea. Do you have any evidence whether other malloc libs (tcmalloc, jemalloc) gives better performance over glibc ones?<br class=""><br class=""></div>T.<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Feb 18, 2015 at 5:13 PM, Brian West <span dir="ltr" class=""><<a href="mailto:brian@freeswitch.org" target="_blank" class="">brian@freeswitch.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">The webpage for TCMalloc states:<div class=""><br class=""></div><div class=""><p class=""><span class="">You can use tcmalloc in applications you didn't compile yourself, by using LD_PRELOAD:</span></p><p class=""><span class=""> $ LD_PRELOAD="/usr/lib/libtcmalloc.so" blahblah</span></p></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote"><div class=""><div class="h5">On Wed, Feb 18, 2015 at 9:59 AM, Ali Pey <span dir="ltr" class=""><<a href="mailto:alipey@gmail.com" target="_blank" class="">alipey@gmail.com</a>></span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class="h5"><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class="">Is there a way to switch to TCMalloc without recompiling freeswitch?</div><div class=""><br class=""></div><div class="">Can someone please point me to (or provide) some instructions? (Preferably for Centos 6)</div></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>