How can I monitor how many threads and memory usage in my JVM or Eclipse?

后端 未结 3 501
失恋的感觉
失恋的感觉 2020-12-17 03:26

I want to monitor the memory usage and threading, how can I do on the Eclipse or JVM? Thanks.

3条回答
  •  误落风尘
    2020-12-17 03:38

    in Eclipse, run the program in debug mode (this will also open the debug perspective). In that you can see how many threads are running. The best tool for this could be an inbuilt profiler . I guess JVM has a profiling tool as well or you can use third party profiling tool like JProfiler or yourkit. http://www.yourkit.com/

提交回复
热议问题