A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
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
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++.
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
It is sorta covered in the
JavaRanch Style Guide
subject: Determining size of object?
Else without if error
Find the memory size in bytes of List<Objects> in JBOSS ?
size of an object
Maximum size of Java Object
refrence instance and object ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015