Maximum Java heap size of a 32-bit JVM on a 64-bit OS

前端 未结 17 2211

The question is not about the maximum heap size on a 32-bit OS, given that 32-bit OSes have a maximum addressable memory size of 4GB, and that the JVM\'s max heap size depen

17条回答
  •  悲哀的现实
    2020-11-22 07:28

    I was having the same problems with the JVM that App Inventor for Android Blocks Editor uses. It sets the heap at 925m max. This is not enough but I couldn't set it more than about 1200m, depending on various random factors on my machine.

    I downloaded Nightly, the beta 64-bit browser from Firefox, and also JAVA 7 64 bit version.

    I haven't yet found my new heap limit, but I just opened a JVM with a heap size of 5900m. No problem!

    I am running Win 7 64 bit Ultimate on a machine with 24gb RAM.

提交回复
热议问题