What is the largest possible heap size with a 64-bit JVM?

前端 未结 6 1028
不思量自难忘°
不思量自难忘° 2020-11-27 16:23

The theoretical maximum heap value that can be set with -Xmx in a 32-bit system is of course 2^32 bytes, but typically (see: Understanding max JVM

6条回答
  •  孤独总比滥情好
    2020-11-27 16:49

    The answer clearly depends on the JVM implementation. Azul claim that their JVM

    can scale ... to more than a 1/2 Terabyte of memory

    By "can scale" they appear to mean "runs wells", as opposed to "runs at all".

提交回复
热议问题