Java Memory Profiler?

Hey all,
i am using Intellij to work on a desktop game using Libgdx but im trying to figure out if my app has any memory leaks..currently im running  "top | grep java" to indicate if my app keeps acumulating memory.. but there must be better way?

my question is, is there some memory profiler that would indicate how much memory the running applicaiton is using maybe with a object list or varables?

Thansk!

1 comment

Hello,

for a start you try Visual VM (https://visualvm.java.net/profiler.html), it's included into JDK distribution and free to use. We at JetBrains use
commercial YourKit profiler (http://www.yourkit.com/).

--
Nikolay Chashnikov
Software Developer
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.