Understanding max JVM heap size - 32bit vs 64bit

前端 未结 3 1443
不知归路
不知归路 2020-11-29 04:44

I\'ve read the max heap size on 32bit Windows is ~1.5GB which is due to the fact that the JVM requires contiguous memory. Can someone explain the concept of \"contiguous me

3条回答
  •  情深已故
    2020-11-29 05:17

    Contiguous simply means "without gaps", one long single segment. The amount is limited by how large a segment the OS can map for your process. Whether Java requires a contiguous heap or not is an implementation issue specific to JVM and may not exist for other VMs.

提交回复
热议问题