aspose file tools*
The moose likes Performance and the fly likes Eden space getting populated by 3gb for every request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Eden space getting populated by 3gb for every request" Watch "Eden space getting populated by 3gb for every request" New topic
Author

Eden space getting populated by 3gb for every request

harshvardhan ojha
Ranch Hand

Joined: Jul 26, 2007
Posts: 157
    
    1

My eden space is getting more than 3gb for every request hit, and suddenly getting Garbage collected.
How i saw this? - JvisualVM VisualGC.
Now i want to see the data structure which is causing this memory footprint. How can i see the object state before it is getting garbage collected in eden space??
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Use jmap to get a heap dump and analyze it with jhat. There are flavors for the JVM (like jrockit) that have more tools to help you with such problems.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
Consider Paul's rocket mass heater.
 
subject: Eden space getting populated by 3gb for every request