[Linux] Error Java [Centos]

Proximity

IDK?
Feb 13, 2014
673
56
When I do java -version or any java command I get this:


Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

please help Ram 5 gb
 

Proximity

IDK?
Feb 13, 2014
673
56
5 GB ram and greenvaluehost I've used them before this hasn't hapened.

dirqa3u.png
 

Ecko

23:37 [autobots] -!- eckostylez [[email protected]]
Nov 25, 2012
1,396
960
what version of java? probably needs to be reconfigured from default config. run:
which java

if you are using cpanel/whm, disable shell fork bomb protect

also make sure path is set up properly (happens if u install java from a non-rpm package) :
cat /etc/profile.d/java.sh

and check if user limits are unlimited:
ulimit -S -v

also, having 5 GB RAM doesnt mean much. the jvm needs virtual memory in a contiguous block.
 

Users who are viewing this thread

Top