Memory Leak

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

3 posts / 0 new
Last post
Memory Leak

Submitted by leetuckert on Thu, 08/23/2001 - 19:56. Developers
I have an X program with a memory leak. After three days of searching through the code, I can`t find the problem. I know there are tools available to ease this burden, I just don`t know what they are. Can anyone point me to some memory utilities that can help me out. By the way, I`m running Red Hat 7.0 in case anything of value comes with Red Hat.

Thanks,
Terry

Anonymous

Have a look at
http//www.cs.colorado.edu/homes/zorn/public_html/MallocDebug.html
I have good experience with Parasoft Insure, but it costs $$$.

Dusan Peterc

ICS_support

I like two tool Purify, by Pure Software, and TestCenter, by Centerline Software. They operate on object code, which can be more effective than MallocDebug and other packages that require that you recompile with the software package. In addition, you can trace Xt calls by recompiling Xt with -DTRACEMEMORY (or something like that).