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
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Performance
Reply 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: 155
    
    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: 6588
    
    1

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 - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Eden space getting populated by 3gb for every request
 
Similar Threads
java.lang.OutOfMemoryError: PermGen space
monitoring GC
Unable to Open Eclipse!
Method that keep Garbage Collection form collecting?
Memory Leak and JVM Crash