my dog learned polymorphism
The moose likes Other Java Products and Servers and the fly likes JVisualVm: which classes cosume too much memory? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "JVisualVm: which classes cosume too much memory?" Watch "JVisualVm: which classes cosume too much memory?" New topic
Author

JVisualVm: which classes cosume too much memory?

John Ulix
Greenhorn

Joined: Sep 29, 2010
Posts: 5
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!
 
 
subject: JVisualVm: which classes cosume too much memory?
 
jQuery in Action, 3rd edition