Skip to contentSkip to conversation

Memory leak debugging

Xenomai-help Dirk Eibach 2 participants 2 messages Nov 21, 2006 – Nov 22, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I have a xenomai application on my PPPC405 that is killed every 16 hours because it spent all available memory. I have no idea where the memory leak is, and it's a rather large application, so a simple code review is quite difficult.

Is there some kind of "best practices" in Xenomai memory leak debugging?
Any tools that could be useful?

Cheers
Dirk

#1 lore raw
Quoted 9 lines · Dirk Eibach

Hi,

I have a xenomai application on my PPPC405 that is killed every 16 hours because it spent all available memory. I have no idea where the memory leak is, and it's a rather large application, so a simple code review is quite difficult.

Is there some kind of "best practices" in Xenomai memory leak debugging?
Any tools that could be useful?

Maybe you can try mtrace ? It is a bit spartan, but is said to work...

Signature · 1 line
                                                 Gilles Chanteperdrix