Operating System - HP-UX
1833758 Members
2764 Online
110063 Solutions
New Discussion

HP JVM, HP-UX 11iv2, and large heap sizes.

 
rob nolen
Advisor

HP JVM, HP-UX 11iv2, and large heap sizes.

Hello,

I am running an rp4440 series PA-RISC system with HP-UX 11iv2. We are attempting to run a JVM with a large heap ( > 1GB), and when we do we encounter some memory allocation errors in our applications.

Are there any system parameters (kernel, or otherwise) that need to be tuned for the HP JVM to properly size and manage a large (>1GB) heap size? We are projecting a possible growth to 3-6 GB.

Does anyone else run a large heap size, and if so, any advice would be greatly appreciated.

3 REPLIES 3
rob nolen
Advisor

Re: HP JVM, HP-UX 11iv2, and large heap sizes.

I should give specs:

16GB Ram, 6 1.0Ghz PA processors.

Steven E. Protter
Exalted Contributor

Re: HP JVM, HP-UX 11iv2, and large heap sizes.

Shalom rob,

You are already getting memory allocation errors and you plan to go further down the road to an even large java heap?

I suggest you install tusc, trace the memory use of an applicaiton process and your java server process and see if a collision is in the offing.

tusc:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.8/
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/trace-1.6/

Its quite possible that you may need to change your appliction to use smaller memory segments.

JVM and Java are becoming world famous for using memory at alarming rates and therefore fueling HP's and other vendors sales of memory.

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
rob nolen
Advisor

Re: HP JVM, HP-UX 11iv2, and large heap sizes.

Well, our initial problem was that the JVM was consistently hitting the top of the heap. So the developers keep increasing the JVM size. As the JVM heap gets bigger, the memory allocation errors keep growing.

I'll mention the trace and tusc options. Thank you.