Could not reserve enough space for object heap

Top  Previous  Next

Could not reserve enough space for object heap

Could not create the Java virtual machine.

OR

Cannot allocate memory...

 

 

 

Possible Reasons:

1)This error means there is not enough RAM memory or other System Resources allocated to the JVM or

VPS (if running within a VPS)

 

2)The user limits are set too low in /etc/security/limits.conf,

/etc/profile or .bash_profile  in Linux.

(try setting "ulimit -S -c 0")

 

3)The "Shell Fork Bomb Protection" or Jailshell is enabled in cPanel/WHM.

 

4)The allocated Memory heap to the JVM is greater than 1.5GB and the OS is only 32BIT.

 

5)Other JVMs maybe chewing up all available memory

 

6)Compare available system memory to total used memory.

 

7)If running within a VPS, make sure all values in the failcnt column are zero in the the following file:

/proc/user_beancounters