title: Memory space required for a Static String constant in Java?
body: <p>How much memory will JVM Allocate to 
  1) Static String
  2) Static Integer</p>
  
  <p>I am exploring this issue as I am getting Heap Memory Out of Memory Exception,
  I have in my application 8 constants file and each file has almost near to 300 Static Constants.</p>
  
  <p>Is that a good practice to declare all the constants as a Static or any other practice can I Follow?</p>