Get visual graph of heap memory usage in Java over a span of time

前端 未结 2 831
挽巷
挽巷 2021-02-06 00:48

I am currently using Visual VM to monitor the heap memory usage of my Java application. However I would like to somehow see the heap memory usage over a span of time like for ex

2条回答
  •  温柔的废话
    2021-02-06 01:23

    Try the Memory tab in JConsole. JConsole is also included with the Oracle JDK, like JVisualVM, so you should already have it. It has a time range of "all" which should work for what you want to do. It will look like this:

    screenshot of jconsole

提交回复
热议问题