#

| Chapter 25 The java.lang Package |

## 25.48 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

java.lang.Object (JDK 1.0) |  | java.lang.Process (JDK 1.0)