Operating System - HP-UX
1823308 Members
3603 Online
109653 Solutions
New Discussion юеВ

Java SDK 1.3.1 memory leak

 
John McKiernan
Advisor

Java SDK 1.3.1 memory leak

We have Apache 1.3.1x and BEA Weblogic 5.1 talking through Java and Oracle client to an Oracle 9i server (on another server) . The JAVA process runs for about a week, adding more memory allocated each hour until HP-UX crashes it at the configured 1 GB limit for a process. We need help locating the cause of the leak. JVM reports garbage collection processes run and cleanup. Environment was OK for ~10 days after the Oracle upgrade, but now one of two similar Apache/Weblogic servers has a JVM crash once per week (the other is OK) .
Both had similar Oracle client upgrades at the same time for compatability with the Oracle 9i server upgrade. Our workaround while BEA and Oracle investigate is restart the Weblogic server weekly or increase process data limit to 2 GB (8 GB RAM) . General OS patches (QPK bundle) did not change problem symptoms.
2 REPLIES 2
Bill Thorsteinson
Honored Contributor

Re: Java SDK 1.3.1 memory leak

Run a profiler that reports object usage against your
code. You may be dropping references to circularly
linked objects. This will generate this behaviour.

Increase the verbosity of the garbage collection and watch
for increasing objecgt counts over time.

An article on this problem with perl just appeared at:
http://www.perl.com/pub/a/2002/08/07/proxyobject.html

Sajid_1
Honored Contributor

Re: Java SDK 1.3.1 memory leak

hello,

Check and make sure that you have these patches installed on the system:
http://www.hp.com/products1/unix/java/infolibrary/patches.html
learn unix ..