title: Why is Java's String memory usage said to be high?
body: <p>On this <a href="http://www.javamex.com/tutorials/memory/string_memory_usage.shtml">blog post</a>, it's said that the minimum memory usage of a String is:</p>
  
  <p><code>8 * (int) ((((no chars) * 2) + 45) / 8)</code> bytes.</p>
  
  <p>So for the String "Apple Computers", the minimum memory usage would be 72 bytes.<br>
  Even if I have 10,000 String objects of twice that length, the memory usage would be less than 2Mb, which isn't much at all. So does that mean I'm underestimating the amount of Strings present in an enterprise application, or is that formula wrong?</p>
  
  <p>Thanks</p>