This simple project provides a way to efficiently calculate the actual memory use of any Java object. The class makes use of the JVMs own instrumentation support to calculate the object memory use in a portable way.

Features

  • Uses the JVM instrumentation to correctly and portably obtain memory use of Java objects
  • Support "deep" memory use, i.e. the size of a whole object graph
  • Internally built for optimum performance caching class related information
  • Internal caches do not prevent class unloading and are automatically cleared as classes are unloaded

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow jMemoryUse

jMemoryUse Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of jMemoryUse!

Additional Project Details

Intended Audience

Developers

Programming Language

Java

Related Categories

Java Libraries

Registered

2010-03-13