java.lang.OutOfMemoryError (JDK 1.0)

Signals that the interpreter has run out of memory (and that garbage collection is unable to free any memory).

public class OutOfMemoryError extends VirtualMachineError {
 // Public Constructors public OutOfMemoryError();
public OutOfMemoryError(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Error->VirtualMachineError->OutOfMemoryError