Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 400 Bytes

File metadata and controls

11 lines (8 loc) · 400 Bytes

robindrew-sizeof

This library is very simple to use:

// The object you want to measure the memory of
Object object = ....

// Calculate!
MemoryCalculator calculator = new MemoryCalculator();
long bytes = calculator.sizeOf(object);

For full details on memory calculations and how to use the library, visit the Wiki