Object Size - Java

Add a Review
2 Downloads (This Week)
Last Update:
Download ObjectSize-java.src.zip
Browse All Files


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.

Object Size - Java Web Site


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

Update Notifications

Write a Review

User Reviews

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

Additional Project Details

Intended Audience


Programming Language



Screenshots can attract more users to your project.
Features can attract more users to your project.

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.