Special Offer: Save Upto 10% on Game Servers & Bot Hosting

Out of Memory Error Minecraft

Diagnose and fix out of memory (OOM) crashes on your Minecraft server.


What Causes Out of Memory Errors?

Usually, out of memory errors is due to your server running out of RAM. The cause is a bit more difficult to determine.

Note that every Minecraft package has a set amount of RAM. The use of plugins will use up this RAM in addition to each user on your server taking up a chunk of RAM themselves.

Common causes:

  • Too many plugins for the available RAM
  • Using multi-world plugins (each world uses a lot of memory even if no players are on it)
  • Out of date or incompatible plugins
  • Memory leaks caused by mobs, lava, water, redstone, pistons, or entities

Solutions

  1. 1Reduce plugins — Remove unnecessary plugins to free up RAM
  2. 2Limit worlds — Reduce the number of active worlds
  3. 3Update plugins — Keep everything up to date to reduce incompatibility
  4. 4Upgrade RAM — Consider upgrading to a higher RAM plan
  5. 5Lower player slots — More plugins + fewer players = more stable
  6. 6Remove entities — Clear excess mobs, items, and other entities using /lagg clear and /lagg killmobs

Was this helpful?

Your feedback helps us write better guides.

Related Articles

More from FAQ (Minecraft).

Still need help?

Our team is on Discord around the clock. Real humans, real answers.