title: Exception - When the JVM runs out of memory, which exception will be thrown?
body: <p><strong>I am little bit confused</strong></p>
  
  <ol>
  <li>MemoryBoundException</li>
  <li>OutOfMemoryException</li>
  <li>OutOfRangeException</li>
  <li>NullReferenceException</li>
  </ol>
  
  <p>I found in <a href="http://www.gkseries.com/" rel="nofollow">http://www.gkseries.com/</a> that the exception thrown when the JVM runs out of memory is OutOfMemoryException. I am not getting this properly. Thanks in advance.</p>