java - The system has enough memory but "Could not reserve enough space for object heap" -
java - The system has enough memory but "Could not reserve enough space for object heap" -
i tryiung start java process requires lot of memory. reason, not work if specify more 19g of ram process. free , top show have 23g of free memory, wonder why error occurs.
total used free shared buffers cached mem: 24158 1047 23111 0 16 356 -/+ buffers/cache: 673 23485 swap: 2204 0 2204
starting process these jvm options:
-xx:+useconcmarksweepgc -server -d64 -xms4g -xmx22g
version:
java version "1.7.0_02" java(tm) se runtime environment (build 1.7.0_02-b13) java hotspot(tm) 64-bit server vm (build 22.0-b10, mixed mode)
however, if specify 19g xmx works.
the java vm allocates memory heap permgen space. can configuration heap space + permgen space exceeds free memory?
which value -xx:maxpermsize
set to?
java memory ram
Comments
Post a Comment