Want to increase Java Heap Size to 4GB+: Physical Memory 8 GB, JVM 64-bit -
I want to run a memory intensive package on a web server.
The settings of the current computer are. Windows 7 64 bit 64-bit JVM RAM: 8 GB
When I run EXPLUS CO-XMS 1024 M-XMX 2048 M -XX: I try: Maxim Sylez = 256m
I am getting:
An error occurred during the initialization of the VM, enough space could not be reserved for the object pile, the Java Virtual Machine Could make
The post I read, it seems that I should be able to use more than 4GB when I ran the code of memory, then I was able to exclude memory at max-Xmx1200M And still be able to run the code. But what I want to accomplish, I need to use more memory. How can I increase memory size here?
Thank you all for the issue that I was using the 32-bit version of JDK. After switching JDK to 64 bit version, I was able to run the memory in 2 GB. Thanks!
The problem was that I was using the 32-bit version of JDK.
Thank you, and thank you for telling Mr Smith that I should answer this and solve it.
Comments
Post a Comment