`

Java 32bit JVM Xmx 参数大小限制

 
阅读更多
转自:
http://stackoverflow.com/questions/1190837/java-xmx-max-memory-on-system

The limit for -XmX is -Xmx1500m on 32 bit windows. Shared libraries get in the way of a bigger heap. You'll need about 2Gb of RAM to do this.

On non-windows OSes you can go bigger, and 64Bit JVM's are capable of a LOT more.

Windows XP will not let you have more than 3Gb of RAM ( doesn't care if you have 4Gb physical, ever since XP SP3) Vista may be different YMMV.

I've tried -Xmx4000M on a 64 bit JVM on 64 bit Linux and it was fine. considering I had 6Gb of physical ram, it was not a big request.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics