How to view the current heap size that an application is using?

后端 未结 7 585
小鲜肉
小鲜肉 2020-11-30 22:03

I think I increased my heap size to 1 GB in NetBeans since I changed the config to look like this:

netbeans_default_options=\"-J-Xmx1g ......
7条回答
  •  醉话见心
    2020-11-30 22:54

    You can use jconsole (standard with most JDKs) to check heap sizes of any java process.

提交回复
热议问题