Operating System - HP-UX
1838681 Members
3695 Online
110128 Solutions
New Discussion

Re: JVM 1.2.2.08 Memory Problem

 
Billy Kan
New Member

JVM 1.2.2.08 Memory Problem

Hi all,

We are using JVM 1.2.2.08 on HPUX 11.0 for our development. We noticed that the memory size (as read from the RES column in top) of the VM expands with no apparent reason. We have used various memory profiling tools (Purify, jmeter) to check our program and it does not seems to have memory leak.

In fact, as a control, we run the same program using a 1.1.8 JVM and there seems to no problem - the memory size keep flat.

I know that it is difficult to get help given such little information. I just want to know if anyone here has experienced similar JVM memory problem and what's the cause/solution of it.

Regards,

Billy Kan
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: JVM 1.2.2.08 Memory Problem

The cause is typically a memory leak, the solution might be upgrading to 1.3?

live free or die
harry
Live Free or Die
Juergen Nagel_1
Frequent Advisor

Re: JVM 1.2.2.08 Memory Problem

Hi,
I know only the vmargs parameters to limited the Heap size. But I???m afraid that???s not the solution for your problem.
#
# Use -ms to set the minimum heap size of the VM.
#
-Xms16m
#
# Use -mx to set the maximum heap size of the VM.
#
-Xmx32m
-Xmn128m <-- I don't know the Meaning.

Bye
Billy Kan
New Member

Re: JVM 1.2.2.08 Memory Problem

We have tried JVM 1.3.0.02 and the -Xmx option but the leak remained. Is there any way/tools to look at the memory usage/profile for the JVM itself?
Billy Kan
New Member

Re: JVM 1.2.2.08 Memory Problem

We have had one more finding recently: the problem gone when we disable HotSpot by adding the "-classic" switch.