For example, if you have a class Person with two int fields and one String field, the memory allocated would include the overhead for the object header, the memory for the two int fields (4 bytes ...
Guava is a set of core Java libraries from Google that includes new collection types (such as multimap and multiset), immutable collections, a graph library, and utilities for concurrency, I/O, ...