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

Object memory

 
Sadaf Zaidi
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any body tell me about object memory.
 
Kris Nelson
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you looking for anything specific about object memory?
------------------
WebNelly.com
Java/XML Web Development
Check it out!
http://www.webnelly.com
 
Jane Griscti
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sadaf,
Not 100% sure what your asking but on the off chance that it concerns how much memory an object can take; the answer is as much as it needs and can have based on the physical memory limitations of the system.
A reference to an object has a defined size that is equal to the size required to store the 'memory address' for the object ie 32-bit or 64-bit.
Hope that helps.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
[This message has been edited by Jane Griscti (edited November 10, 2001).]
 
Argm Mastoi
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sadaf,
Do you want to ask that how much memory it takes, when we create an object, i'm also looking for this question's answer. I've heard that this thing has been discussed on this forum before, so Cindy can u please help and give me the link of previous discussion about object's memory size, when it is created.
Thanx
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps this is the thread that you were refering to?
 
Sadaf Zaidi
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks alot.Its clear now.
 
Sadaf Zaidi
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks alot.Its clear now.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic