From http://stackoverflow.com/questions/9368764/calculate-size-of-object-in-java

Determine object size