File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes Object in JVM - memory allocation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Object in JVM - memory allocation" Watch "Object in JVM - memory allocation" New topic
Author

Object in JVM - memory allocation

Mohtashim Shaikh
Ranch Hand

Joined: Jul 18, 2010
Posts: 43
Eden space is within the young generation space. Also there is old generation space. Then there is stack memory, survivor space 1 and 2. Then there is PermGen space and Pure Native area.

I was asked to write a java program preferable a web code to demonstrate when the object is stored in each of these JVM memory and when would it be destroyed and how the object moves about in these spaces.

Can someone please showcase here or share any existing material on the same?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4658
    
    5

Mohtashim, welcome to the Ranch! Please BeForthrightWhenCrossPostingToOtherSites
http://www.java-forums.org/new-java/61944-objects-jvm.html


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Object in JVM - memory allocation