Thrown when the JVM cannot allocate memory because the heap is exhausted. Increase -Xmx, fix a memory leak, or reduce allocation pressure.
OutOfMemoryError
java Thrown when the JVM cannot allocate memory because the heap is exhausted. Increase -Xmx, fix a memory leak, or reduce allocation pressure.