title: meaning of java.lang.OutOfMemoryError: null
body: <p>What does java.lang.OutOfMemoryError: <strong>null</strong> imply.</p>
  
  <p>I.E why is the reason stated as null.
  I saw this exception when I was trying to work with sun.misc.unsafe.
  Now I know we shouldn't be using this library. But aside from that What I would like to know is how to understand when this exception is thrown. what are the reasons for which it could be thrown?
  In my case, I believe it was probably triggered to allocate a large memory size.</p>
  
  <p>What other scenarios would this come from??</p>