how to get the size of a java object code example Example: how to find size of obj in java 8 jar -cfm Sizeof.jar META-INF/MANIFEST.MF Sizeof.class