Java application to use maximum available memory in the system

前端 未结 2 874
终归单人心
终归单人心 2021-01-03 03:55

There are -Xmx and max-heap-size (jnlp) options to set maximum memory java application can use.
If these options are not specified application is permitted to use only s

2条回答
  •  无人及你
    2021-01-03 04:21

    -XX:DefaultMaxRAMFraction=1
    

    bugs.sun.com
    Sun's 1.5 JVM
    Default Heap Size

    Doesn't work for web start.

提交回复
热议问题