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

前端 未结 17 2385

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:13

    I have tried setting the heap size upto 2200M on 32bit Linux machine and JVM worked fine. The JVM didnt start when I set it to 2300M.

提交回复
热议问题