What is the default maximum heap size for Sun's JVM from Java SE 6?

前端 未结 6 1140
隐瞒了意图╮
隐瞒了意图╮ 2020-11-29 18:38

What is the default maximum heap size for Sun\'s JVM from Java SE 6 (i.e. equivalent to setting -Xmx)?

Looks like for Java SE 5 with a server-class machine, it\'s

6条回答
  •  难免孤独
    2020-11-29 18:55

    With JDK, You can also use jinfo to connect to the JVM for the in question and get the value for MaxHeapSize:

    jinfo -flag MaxHeapSize 
    

提交回复
热议问题