Hi,
comparing the memory manager in sip-router and kamilio i wondered what is the purpose of this mem/memdbg.h definitions. Both F_MALLOC and Q_MALLOC use them, but also use the LOG(memlog,..) style of output informations.
What is the difference between the memlog parameter (which we also have), and the memdbg parameter? Google tells me that the first is the mem statistics log level, and the former the mem debug level. Is this correct?
Thanks,
Henning
On Mar 18, 2009 at 13:11, Henning Westerholt henning.westerholt@1und1.de wrote:
Hi,
comparing the memory manager in sip-router and kamilio i wondered what is the purpose of this mem/memdbg.h definitions. Both F_MALLOC and Q_MALLOC use them, but also use the LOG(memlog,..) style of output informations.
What is the difference between the memlog parameter (which we also have), and the memdbg parameter? Google tells me that the first is the mem statistics log level, and the former the mem debug level. Is this correct?
Yes, memdbg can be used to turn off malloc debugging info (if compiled with malloc debugging). It's really very usefull :-)
Andrei