Operating System - HP-UX
1753464 Members
4727 Online
108794 Solutions
New Discussion юеВ

Re: memory leakes from oracle client libraries on hpux 11i

 
SOLVED
Go to solution
Bill Hassell
Honored Contributor

Re: memory leakes from oracle client libraries on hpux 11i

As mentioned before, a memory leak is a programming error. If you did not write the code, special tools to monitor for incorrect handling of memory won't be of much use. You need the source code to the programs and an understanding of how the programs work so they can be fixed. If you don't have a programming staff, all you need to monitor are the program sizes with ps as mentioned above. Then call the manufacturer to see if the growth in memory usage is normal or a bug.


Bill Hassell, sysadmin
Arunvijai_4
Honored Contributor

Re: memory leakes from oracle client libraries on hpux 11i

Hi Shiv,

As Bill said, you have to have source code handy with you before start using any 3rd party tools. Anyways, here are some tools available to detect memory leaks

Rational Purify ($$$)
http://www.ibm.com/software/awdtools/purifyplus/

Insure++ ($$$)

Valgrind
http://developer.kde.org/~sewardj

MEMWATCH
http://www.linkdata.se/sourcecode.html

A very good reading
http://en.wikipedia.org/wiki/Memory_leak

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Shivkumar
Super Advisor

Re: memory leakes from oracle client libraries on hpux 11i

Hi Arun,

I have heard of Rational Purify and some other tools for detecting memory leakage. What surpriese me is that most of the enterprise are using tools for testing applicaton packages which doesn't detect memory leakage and exceptions in the coding.

I have seen mostly people use mercury test tools and other similar tools just to check some other fuctionalities.

It surprises me for few thousands dollars cost of Rational Purify tools, enterprises are taking risk of not testing their applications for memory leakage and extensive excetpion handling.

Seems like developers are not aware of these tools.


Thanks,
Shiv
Arunvijai_4
Honored Contributor

Re: memory leakes from oracle client libraries on hpux 11i

Hi Shiv,

Most of the Enterprise applications will go through an extensive Performance and Reliability testing. P&R team is responsible for detecting memory leak errors. In Linux, Valgrind is the best way of detecing memory leaks.

I feel, you should rasie a ticket with Oracle support to dig in further.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Shivkumar
Super Advisor

Re: memory leakes from oracle client libraries on hpux 11i

Does HP's has any tool similar to Rational PurifyPlus ?

Thanks,
Shiv