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?


1 comment
Comment actions Permalink


for a start you try Visual VM (, it's included into JDK distribution and free to use. We at JetBrains use
commercial YourKit profiler (

Nikolay Chashnikov
Software Developer
"Develop with pleasure!"


Please sign in to leave a comment.