Operating System - HP-UX
1756358 Members
3158 Online
108847 Solutions
New Discussion юеВ

Re: Java VM tuning on ia64 servers

 
Fedele Giuseppe
Frequent Advisor

Java VM tuning on ia64 servers

Hello,

I have a Java application, running on a ia64 server, failing with the following error:

"java.lang.OutOfMemoryError: Java heap space"

I have modified default heap size in the following way:

-Xmn64m -Xms128m -Xmx128m

and now it works fine.

Moreover I would like to known:

1. the default heap size of Java VM
2. hot to properly tune it

Many thanks

Giuseppe
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Java VM tuning on ia64 servers

Shalom,

Maybe some help here:
http://docs.hp.com/en/JAVAPROGUIDE/expanding_memory.html

http://docs.hp.com/en/7001/HIDS3.1SizingandTuningPrimer.pdf

Default heap size is 64 MB.

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
Fedele Giuseppe
Frequent Advisor

Re: Java VM tuning on ia64 servers

Hello SEP,

it seems the doc doesn't cover the ITANIUM case. Isn't it?

Giuseppe
Dennis Handly
Acclaimed Contributor

Re: Java VM tuning on ia64 servers

>it seems the doc doesn't cover the Integrity case. Isn't it?

Integrity is mentioned in expanding_memory.
Have you looked at the the HPjmeter documentation?
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPJMETER