Out of memoryOutOfMemoryError: Metaspace
What the log looks like
outofmemoryerror: *metaspace
outofmemoryerror: *compressed class space
How to fix it
- Metaspace holds class definitions, not world data — raising -Xmx does nothing
- Add -XX:MaxMetaspaceSize=512m or remove the launcher flag that caps it
| Severity | Stops the game |
|---|
| Category | Out of memory |
|---|
Check your own log