Skip to main content

How to see the classes loaded in memory by my webapp into GlassFish?

No replies
edilmar
Offline
Joined: 2003-11-13
Points: 0

Hi,

I have a big webapp in GF3.1.1.
Then, I tried to use jVisualVM to profile my webapp.
But the problem is that it doesn't show some kind of list of classes loaded, with size ammount used by each one. I would like something like this table:

class | variable | memory used
class1 | var1 | 1 Mb
class1 | var2 | 3 Kb
total class1 = 1.3Mb
class2 | var3 | 5 Mb
total class2 = 5Mb
etc

Is there some tool to see this kind of information, to really detect what part of my webapp uses more memory?