Java – how do I check for memory leaks?

Can I check for memory leaks without entering the code I have my application and I want to check for memory leaks

In my current organization, I check the CPU usage before and after running the application and the CPU usage of the application process But I don't think this is the right way

Please let me know in this regard

Solution

I think you need a memory analyzer to do this

You can find a list of analyzers here

Open Source Profilers for Java

Also read this article

Finding Memory Leaks in Java Apps

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>