HOW TO DETERMINE THE SIZE OF AN OBJECT IN JAVA