Skip to main content

💻Out of memory error


This error means that the server has fully used up all the RAM that has been allocated to it. Once the server runs out of memory, it can no longer store or process data, which usually results in crashes, lag, or the server completely shutting down.

Why does this happen?

Servers use RAM to store all the active runtime data — this includes plugins, mods, world data, entities, chunks, and anything else the server needs to function. When the usage reaches the limit, the server cannot continue running correctly.


How to Fix It

There are a few ways to resolve this issue depending on your setup and requirements.

1. Remove or Optimize Plugins / Mods

If you're running a large amount of plugins or mods, some may be heavy on memory usage. You can:

  • Remove unnecessary plugins or mods.
  • Replace memory-heavy plugins with lighter alternatives.
  • Check for memory leaks (plugins that use more RAM the longer the server runs).
  • Lower view distance in your config files.

2. Reduce Server Load

Things that increase RAM usage:

Feature Impact
High render/view distance Very High
Large amounts of entities (mobs, animals, etc.) High
Many loaded chunks High
Heavy modpacks Very High

Reducing these can significantly lower RAM usage.

3. Purchase More RAM

If your server still runs out of memory after optimizing, the simplest solution is to upgrade your plan and allocate more RAM. This will allow the server to store and process more data without crashing.