Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVisualVm: which classes cosume too much memory?

 
John Ulix
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody!

I am now using JVisualVM for trying to understand if are there programming errors in my code that do not prevent my application to work fine but that causes too memory usage. But: as I perform a HeadDump I can find, for example, 203489 instances of java.lang.String. Is there a way to know in which classes/object are they instantiated (for String instances, but also for other classes as ArrayList, ...) ?

Thank you for attention!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic