jdk編譯器對內存的支持不同
測試方法
如
C:\>java
java version
Java(TM) SE Runtime Environment (build
Java HotSpot(TM) Client VM (build
C:\>java
java version
Java(TM) SE Runtime Environment (build
Java HotSpot(TM) Client VM (build
C:\>java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine
C:\>java
Error: no `server
java編譯器
C:\Program Files\Java\jdk
打開
調整為
即可支持更多的內存
From:http://tw.wingwit.com/Article/program/Java/hx/201311/26433.html