Once this exception is thrown, is object that caused this thrown out of memory? Does it happen right away?
In other words, if i am adding objects to a list, at some point this can no longer happen and OOM error is thrown. At that time, does anything happen to the list itself?
java.lang.OutOfMemoryError: Java heap space