Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eden space getting populated by 3gb for every request

 
harshvardhan ojha
Ranch Hand
Posts: 157
1
Android Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic