Knowing the size of an object is a common requirement. There are multiple ways e.g. Serialization, freeMemory(), etc. Unfortunately, no way is a standard way and each has its drawbacks also. ObjectSize-Java caters the drawbacks and calculates size.

Features

  • Any class/sub class in the Object need not be Serializable
  • If an Object is counted once, it would not be counted again (Reference)

Project Activity

See All Activity >

License

Apache License V2.0

Follow Object Size - Java

Object Size - Java Web Site

nel_h2
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Object Size - Java!

Additional Project Details

Intended Audience

Developers

Programming Language

Java

Related Categories

Java Software Development Software

Registered

2010-01-02