Styrow.dev
Question 226 of 247
Java Topic: General medium

Explain java.lang.OutOfMemoryError?

Question

Explain java.lang.OutOfMemoryError?

Answer

This Error is thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.