mtrace reading

2003-09-15 Thread francex
Hi, in a my application with gtk, program makes and destroy many widgets. With 'top' I have noticed an enormous use of memory for my appl. and so i have used mtrace() function to test memory usage. In output file I get for example: ... 0x083ef0b8 0x1c at 0x40498924 0x083ef0d8 0x2 at

Re: mtrace reading

2003-09-15 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: in a my application with gtk, program makes and destroy many widgets. With 'top' I have noticed an enormous use of memory for my appl. and so i have used mtrace() function to test memory usage. I suggest you try using memprof instead. Sven

Re: mtrace reading

2003-09-15 Thread francex
Thanks for replies, I have tried 'memprof' but there are problems (I suppose) for programs that use g_spawn. with mtrace appl appl_log I get 'No memory leaks.' Mah?!? I hope (but I'm not sure) that my prg works... Thanks again France

Re: mtrace reading

2003-09-15 Thread Paul Davis
Thanks for replies, I have tried 'memprof' but there are problems (I suppose) for programs th= at use g_spawn. with mtrace appl appl_log I get 'No memory leaks.' Mah?!? I hope (but I'm not sure) that my prg wor= ks... unless i'm forgetting something, and mtrace *is* a valgrind skin, then you