Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JVisualVm: which classes cosume too much memory?  RSS feed

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!
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!