objectsize

Java: Serializing unknown Arraysize

If I safe an Array and reload it, is there a possibility to get the size if its unknown? Thanks ...

Fetching Object Size using Instrumentation

I have an object which is a composite of several other objects. When i use the getObjectSize() method in the Instrumentation package, does it include the size of the composite objects also? ...