Operating System - HP-UX
1832855 Members
2852 Online
110047 Solutions
New Discussion

Java Application and chatr

 
Amit Dixit_2
Regular Advisor

Java Application and chatr

Hi,
I am running a java application which is having a initialization script in which I pass startup parameters like Xmn & Xmx i.e. the minimum and maximum memory and other parameters.

My java application was compiled with 32 bit compiler, now If I want to start this application to use large memory heap of 4GB and if I specify Xmn=3000M and Xmx = 3072M and starte the application it fails with the following error message.

"Error occurred during initialization of VM
Could not reserve enough space for gen1 generation heap"

Can anybody tell me can I start a 32 bit application to use 4GB, my JVM and OS are 64 bit and installed all the required patches to run jvm to enable 4GB Heap on HP box.

What about chatr command and which binary should I modify using chatr.

What about -d64 option in startup parameter for JVM to run it as 64 bit.

Thanks,
Amit.