Operating System - HP-UX
1753505 Members
5679 Online
108794 Solutions
New Discussion юеВ

Re: aCC debugger for memory leaks

 

aCC debugger for memory leaks

Hi all,
Is there any way i could detect memory leaks in a very big program written in C++?
I did not write the codes and as its a very big program, its difficult to go through the codes to search for the memory leaks.
I'm currently using aCC compiler on HP unix.

Pls help. Thanx a million.


2 REPLIES 2
Steve Steel
Honored Contributor

Re: aCC debugger for memory leaks

Hi


Run it and monitor memory usage

Good usable tools at

Memory Usage - ├в What is using all of the memory├в ?

by:eric.herberholz@hp.com

Last modified: July 26, 2004

Latest version available at external ftp site:

ftp://eh:spear9@hprc.external.hp.com/memory.htm



Steve
If you want truly to understand something, try to change it. (Kurt Lewin)
ranganath ramachandra
Esteemed Contributor

Re: aCC debugger for memory leaks

you can use gdb to check memory leaks. get the latest HPUX gdb, version 4.5 and read the documentation to know how to do it.

the URL for download and documentation is
http://www.hp.com/go/wdb
 
--
ranga
[i work for hpe]

Accept or Kudo