title: What is the memory consumption of an object in Java?
body: <p>Is the memory space consumed by one object with 100 attributes the same as that of 100 objects, with one attribute each?</p>
  
  <p>How much memory is allocated for an object?<br>
  How much additional space is used when adding an attribute?</p>