A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Determining size of object?
Joined: Feb 22, 2007
Feb 22, 2007 05:55:00
How can we estimate the size of the object? i think here we dont have sizeOf operator.
EDIT by mw:
Changed subject line to be descriptive (was "java classes").
[ February 22, 2007: Message edited by: marc weber ]
Joined: Dec 28, 2006
Feb 22, 2007 06:11:00
The definition of size of the object depends on the object type.
So maybe you could be more specific over what size over what kind of object you want.
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
Joined: Oct 29, 2001
Feb 22, 2007 06:34:00
Java Platform Performance has some
on how to estimate the size of an object. Object size doesn't matter much to us because Java doesn't have functionality like pointer arithmetic that is frequently used in C/C++.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
Joined: Jan 18, 2007
Feb 22, 2007 07:59:00
Boarding interesting about this subject.
"The time will not change of direction when the Universe to start to contract" Stephen Hawking
I agree. Here's the link:
subject: Determining size of object?
Find the memory size in bytes of List<Objects> in JBOSS ?
size of an object
refrence instance and object ?
Maximum size of Java Object
Else without if error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014