OutOfMemoryException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Error, java.lang.VirtualMachineError, java.lang.OutOfMemoryError

public class OutOfMemoryException extends java.lang.OutOfMemoryError

The exception that is thrown when there is not enough memory to continue the execution of a program.