[sr-dev] How to catch a mem leak

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 31 14:21:44 CET 2012


On 10/31/12 2:04 PM, Jon Bonilla (Manwe) wrote:
> El Wed, 31 Oct 2012 09:44:57 -0300
> Carlos Ruiz Díaz <carlos.ruizdiaz at gmail.com> escribió:
>
>> Hello Jon,
>>
>> There's a guide you can follow to troubleshoot memory problems:
>> http://www.kamailio.org/dokuwiki/doku.php/troubleshooting:memory
> Thanks carlos
>
> Regarding the first link, the malloc flavour could be changed by just
> enabling
>
> MEMDBG ?= 1
>
> in Makefile.defs, right?
Yes.

You can even give it in command line when compiling, without changing 
Makefiles.def, like:

make FLAVOUR=kamailio MEMDBG=1 ... cfg
make all
...

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu




More information about the sr-dev mailing list