What does java.lang.OutOfMemoryError: null imply.
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.
What other scenarios would this come from??