# OutOfMemoryError

An error raised when the JVM cannot allocate required memory.

## What is **OutOfMemoryError** in Java?

**OutOfMemoryError** — An error raised when the JVM cannot allocate required memory.

Level: Master · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/master)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/outofmemoryerror
