Operating System - HP-UX
1835006 Members
2203 Online
110073 Solutions
New Discussion

Java applications reserves 240 MB memory on 11i

 
SOLVED
Go to solution
Ingo Huckele_1
Occasional Contributor

Java applications reserves 240 MB memory on 11i

Hello,
we have different java applications and with HPUX 11i java reserves about 250 MB memory. Is the displayed value from "top" correct?
Is there any kernel parameter or patch to reduce this?
With HPUX 11.00 it was only 8 MB.

TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
pts/7 12438 ihuckele 152 20 256M 60372K run 0:05 5.39 4.66 java


Thanks in advance
Ingo
3 REPLIES 3
Arunvijai_4
Honored Contributor

Re: Java applications reserves 240 MB memory on 11i

Hello Ingo,

You need to look into http://www.hp.com/products1/unix/java/?jumpid=go/java
http://h18012.www1.hp.com/java/patches/index.html

for more information according to your Java version.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Peter Godron
Honored Contributor
Solution

Re: Java applications reserves 240 MB memory on 11i

Ingo,
have a look at:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=211220

top may be 'mis-reporting' the size.

Also have a look at:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28 on how/when to allocate points.
Jeff Schussele
Honored Contributor

Re: Java applications reserves 240 MB memory on 11i

Hi Ingo,

You need to look at the actual java command being issued - specifically any -Xm????? statements on the command line.
They designate the memory allocation for the command. Use the following to see the entire command line:

ps -efxp

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!