Operating System - HP-UX
1821828 Members
3635 Online
109638 Solutions
New Discussion юеВ

Tool to find memory leak in c++ program in HP-Unix

 
Rajesh K V
New Member

Tool to find memory leak in c++ program in HP-Unix

Hi All,
Please let me know any of the available tool to find out the memory leak in c++ program in the HU-Unix platform

Thanks in advance,
Rajesh
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Tool to find memory leak in c++ program in HP-Unix

Shalom Rajesh,

There are debuggers, like the wdb debugger, which might be useful.

http://h71028.www7.hp.com/ERC/downloads/4AA0-2874ENW.pdf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter Godron
Honored Contributor

Re: Tool to find memory leak in c++ program in HP-Unix

Hi Rajesh,
and welcome to the forums !

HP has debugging tools such as HP WDB/GDB.

But the best I have found is a good code-review process.

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
Peter Nikitka
Honored Contributor

Re: Tool to find memory leak in c++ program in HP-Unix

Hi,

Purify is a very powerful product for this task, available for HP-UX as well. Not very cheap, however.

http://www.ibm.com/software/rational

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
rick jones
Honored Contributor

Re: Tool to find memory leak in c++ program in HP-Unix

Not sure that this was the correct forum :) http://www.hp.com/go/cadvise might be helpful as well.
there is no rest for the wicked yet the virtuous have no pillows