Could not reserve enough space for object heap
Run the JVM with -XX:MaxHeapSize=512m
(or any big number as you need) (or -Xmx512m
for short)
This can also be caused by setting something too large on a 32-bit HotSpot vm, for example:
-Xms1536m -Xmx1536m
where this might/would work:
-Xms1336m -Xmx1336m
here is how to fix it:
Go to Start->Control Panel->System->Advanced(tab)->Environment Variables->System
Variables->New: Variable name:
_JAVA_OPTIONS
Variable value:-Xmx512M
Variable name:Path
Variable value:%PATH%;C:\Program Files\Java\jre6\bin;F:\JDK\bin;
Change this to your appropriate path.