[Devel] Memory-Debugging
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Wed Aug 2 16:47:08 CEST 2006
Hi Wolfgang,
please go ahead.
regards,
Bogdan
Wolfgang Hottgenroth wrote:
>Hi,
>
>
>
>what you should know: Both the memory-debugging feature in openser and
>the Wiki-page about it are excellent!
>
>It helped my to track down and fix a memory leak in my module (the C++
>one, you remember ;-)) within one compile cycle after switching on
>DBG_QM_MALLOC.
>
>Someone who has to interpret a memory debug dump should consider
>
> cat mem-debug.log | grep "alloc'd from" | sort | uniq -c | less
>
>after removing all the syslog generated stuff (timestamp and so). In my
>case the bug was obviously immediately.
>
>(If you down mind (and if I have the grants), I would add this to the wiki.)
>
>
>
>Cheers,
>Wolfgang
>
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
>
More information about the Devel
mailing list