Get started

Loafmas Up to 80% off your first payment, with the code added to your order for you See the codes Codes for the Loafmas sale

Guides / ARK: Survival Evolved / Fixes

ARK server ran out of memory or was killed while saving

ARK: Survival Evolved server killed, exit code 137 or a lost save? It ran out of memory. See what each map needs and fix it with a bigger plan or a smaller map.

Updated , checked on ARK: Survival Evolved 361.7

When an ARK: Survival Evolved server uses more memory than its plan holds, the node (the computer your server runs on) stops the game. If that happens while the world is saving, the save is lost and the world goes back to its last save. The fix is more memory or a smaller map.

This guide is for ARK: Survival Evolved. ARK: Survival Ascended is a different game with different needs.

Check that it was memory

  1. Open Crashes and choose the start that ended.
  2. Look for Crashed in the list, with the note out of memory. On the start’s page, Out of memory says Yes and Exit code says 137 when the panel has it. 137 means the game was ended at once.
  3. Do not expect a finding under What the panel can tell. It reads What the panel can tell (0) with the line “None of the known causes are in this start’s log.” The game cannot write why it was ended, so its log has no memory line.
  4. Open the Console. Two lines, tagged Panel, point to memory:
    • At a start on a map that is too big for the server, for example This server has 12 GB of memory and this map needs 16 GB or more: with less the game can be closed while it starts or saves the world, and the save is lost. The two numbers are the server’s and the map’s.
    • At a stop that was cut, a warning: The game ended before its save finished. The world is as it was at its last save.
Crashes: a crashed start with Game version, Exit code 137 and Out of memory Yes, and no findings
  1. The crashed start
  2. Exit code
  3. Out of memory

The crashed start (1) shows exit code 137 (2) and Out of memory Yes (3).

On the World page, under Maps, a map that is too big for the server says how much it needs and how much the server has. The panel warns and never refuses, so it still lets you play that map.

The World page, Maps: each map says how much memory it needs, and Genesis: Part 2 says it needs 16 GB while this server has 12 GB
  1. Too big for this server
  2. Play this map

What each map needs

The panel’s rule, with nobody on and plenty of room for a save:

  • 8 GB: The Island, The Center, Scorched Earth, Ragnarok, Aberration, Extinction and Valguero.
  • 10 GB: Genesis: Part 1, Crystal Isles and Fjordur.
  • 12 GB: Lost Island.
  • 16 GB: Genesis: Part 2.

These are measured numbers for a new world with nobody on, two minutes after a start: The Island 5.9 GB, Ragnarok 6.3, Fjordur 6.6, Crystal Isles 7.5, Genesis: Part 1 7.7, Lost Island 8.5, and Genesis: Part 2 about 13.4. Genesis: Part 2 was ended at 10 GB while it was still starting. A save needs room of its own on top.

Memory then grows. The ARK wiki says each player who joins adds roughly 50 to 150 MB, and that memory can swing for several minutes while creatures spawn. Tames (creatures a player has tamed), structures and every Workshop mod add more, because a mod loads whole into memory.

A server with 6 GB running The Island was stopped by the node while it saved at a stop, and that save was lost. Do not run a map on less than its need to see if it copes.

Fix it

Pick one.

  1. A bigger plan. Move to a plan whose memory covers your map. The 8 GB plan runs the 8 GB maps only. The 12 GB plan runs every map except Genesis: Part 2. The 16 GB plan runs every official map. See which plan for which map.
  2. A smaller map. Stop the server. On the World page, find a map that fits under Maps and choose Play this map, then Play it. It plays from the next start. Each map keeps its own world, so the world you leave is not lost, and you can come back to it later with a bigger plan.
  3. Fewer mods. On Mods, take off the mods you can do without and choose Apply.

Start the server after the change and check Crashes once players have joined.

What was lost, and how to lose less

A save that is cut leaves the world as it was at its last save. The game saves every 15 minutes unless you changed Save every (minutes) in the Config Editor, under Server settings. A stop from the panel saves first (the Console shows Saving the world before stopping, tagged Panel, then Saved and stopped), so the loss comes from the game being ended during that save, not from a normal stop. See what a stop saves.

  • Press Save now on the World page before anything risky, such as a mod change or a restart on a busy server.
  • If the world will not load after the kill, stop the server and use Put back on one of the game’s own backups on the World page.
  • A save that runs past the Auto-Kill time is also cut. ARK servers start with 120 seconds, set on the Auto-Kill card (1 in the picture below) under Settings as Seconds until auto-kill (2). On a very large world, a longer time gives the save more room.
Settings: the Auto-Kill card with its switch and Seconds until auto-kill
  1. Auto-Kill
  2. Seconds until auto-kill

The card’s sentence names other games’ numbers; for an ARK server the number in Seconds until auto-kill is what counts: 120.

If it does not work

  • It is killed again right after the change. Open Crashes again. If Out of memory says Yes, the map still needs more than the server has. Check the numbers above.
  • It is not memory. Out of memory says No and there is a finding. See the server will not start.
  • You want to know what progress was lost. See lost progress after a crash.

Sources: ark.wiki.gg: Dedicated server setup

ARK: Survival Evolved server hostingAll ARK: Survival Evolved guides