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)
Categories
Software DevelopmentLicense
Apache License V2.0Follow Object Size - Java
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Object Size - Java!