Java: non-heap-memory analyzes

后端 未结 3 2044
太阳男子
太阳男子 2020-12-08 16:29

we have the problem that our non-heap-memory is growing all the time. so we have to restart our jee (java8) - webapp every 3rd day (as you can see in the screenshot here: sc

3条回答
  •  囚心锁ツ
    2020-12-08 17:13

    With Java 8, class meta data is now in a non-heap memory section called Metaspace (and not in PermGen anymore). If your non-heap memory is mainly consumed by Metaspace, you can figure it out with jstat.

    It's not a general tool for analyzing non-heap memory. But it might still help in your case.

提交回复
热议问题