Operating System - HP-UX
1830194 Members
21363 Online
109999 Solutions
New Discussion

JVM problems on Hpux 11 L class

 
Neil McGrath_1
Occasional Contributor

JVM problems on Hpux 11 L class

Hi,

I'm having a problem with a Java application on an L2000-44. This application runs fine with a 1024 sized heap on solaris, but fails to start when i try to start it with more than 600meg XMS on the HP. So far we've run the java tuning tool and applied the neccesary patches and kernel tweaks but still no success. The box has 2gig of ram and 4 gig of swap, and the system shows that java process has 60meg of memory acquired (once it starts ok), but it wont start with an XMS setting of more than 600meg ?

Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at com.logica.omg.application.ThreadPool.(ThreadPool.java:68)
at com.logica.omg.application.AccessNode.start(AccessNode.java:90)
at com.logica.omg.application.AccessNode.start(AccessNode.java:74)
at com.logica.omg.smppclient.SMPPClient.start(SMPPClient.java:115)
at com.logica.omg.application.NodeGroupManager.createNodes(NodeGroupManager.java:391)
at com.logica.omg.application.NodeGroupManager.start(NodeGroupManager.java:161)
at com.logica.omg.application.OmgManager.main(OmgManager.java:132)
Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested 236596 bytes
Possible causes:
- not enough swap space left, or
- kernel parameter MAXDSIZ is very small.

currently MAXDSIZ is 2063835136
swap is untouched at
# swapinfo -ta
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
reserve - 275004 -275004
total 4194304 275004 3919300 7% - 0 -