|
Project Information
Members
|
A small high performance utility for measuring object memory usage in Java. long bytes = MemoryUtil.sizeOf( object ); This utility is not meant to replace the excellent range of profiling tools available for Java such as VisualVM, YourKit or JProfiler, it is aimed for runtime debug/logging of selected structures in a production system. Common primitive and object sizes: |