libjamm-java

Java Agent for Memory Measurements

Description

Jamm provides MemoryMeter, a java agent to measure actual object memory use including JVM overhead.

MemoryMeter is as accurate as java.lang.instrument.Instrumentation.getObjectSize, which only claims to provide "approximate" results, but in practice seems to work as expected.

MemoryMeter uses reflection to crawl the object graph for measureDeep. By default, MemoryMeter keeps track of descendants visited by measureDeep with an IdentityHashMap.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/jbellis/jamm/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libjamm-java