Get JVM to grow memory demand as needed up to size of VM limit?

后端 未结 14 1401
渐次进展
渐次进展 2020-12-29 07:42

We ship a Java application whose memory demand can vary quite a lot depending on the size of the data it is processing. If you don\'t set the max VM (virtual memory) size

14条回答
  •  無奈伤痛
    2020-12-29 08:08

    This discussion is moot if you think that your clients can ask for 2-3GB of RAM on their 32-bit machine. The OS and other apps will be taking their pound of flesh to run as well.

    Sounds like your app is reaching the point where it needs a 64-bit operating system and lots more RAM.

提交回复
热议问题