java
Java-Monitor Forum > Forum > Glassfish Administration » physical memory runs dry after few hours
Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 12-12-2011, 16:11
guus guus is offline
Junior Member
 
Join Date: Jul 2008
Posts: 14
Send a message via MSN to guus
Default

You'll be surprised how easy it is to analyse a 2GB heap (I know I was). Forget all of the jmap tinkering, and have a look at http://eclipse.org/mat/ - I've found it to be exceptionally useful: after a few minutes of pre-processing, it gives you a rather simple graph that tells you were your problem most likely is. It reduced the time I need to do analysis from weeks to hours. If you're not familiar with Eclipse, don't worry - it can be executed as a standalone application as well as an Eclipse plugin.
Reply With Quote
  #12  
Old 12-12-2011, 21:32
cfd cfd is offline
Member
 
Join Date: Dec 2009
Location: EBBR
Posts: 37
Default

Hi Guus,

You're right, MAT is easy to use even on 2GB but (on my machine) I have to give it some time to process :-)

But, even if I like VisualVM a lot, I think that MAT is more productive in terms of timing.

Thanks,

Christophe
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump