If your server is restarted or stopped for using too much memory
If your server uses too much memory, we might restart it. Our control panel will do this automatically. If our control panel has to restart your server lots of times in a short window, we'll stop your server instead.
How much too much memory is depends on two things:
- Your server's game package, which has an amount of base memory. This is the amount of memory your server is always allowed to use.
- How much memory other game servers are using at the moment.
Read more about memory usage for an explanation on how we decide when to restart a game server for using too much memory.
Reducing memory usage
A few things cause servers to use more memory, so there are a few steps you can take to lower your server's usage.
Remember, you can see your server's memory usage on your server's Stats page in the control panel. This is helpful when you're making changes and want to see which changes have the biggest impact on memory.
When your server is running for a long time
Sometimes, your server will use more and more memory the longer it keeps running. This is a bug with the 7 Days to Die server - it's called a memory leak. This can happen after a few hours or a few days, or you might never notice this at all.
You can often tell if your server is leaking memory by checking the memory graph on your server's Stats page. Normal memory usage is fairly constant after the server has started up. It usually increases and decreases as players join and leave. A memory leak often looks like a gradual or rapid increase in memory used, regardless of the number of players online.
Unfortunately, we can't fix bugs with the 7 Days to Die server software. This is why we restart servers that are using too much memory - often, the reason is that the server is leaking memory and simply needs to be restarted.
You can read on for suggestions on how to reduce memory usage overall. Or, you can use our Scheduler to restart your server at certain times of day. This means your server restarts are more predictable. Depending on the timing and severity of the memory leak, this might reset your server's memory usage often enough that our control panel never has to restart your server unexpectedly.
Mods are the most common cause for servers using lots of memory. Some mods are really complex, and some aren't made too well. Some mods suffer from both.
Mods can use anywhere from just about nothing to many gigabytes of memory. For example, the popular Starvation mod for 7 Days to Die uses about 5 times the memory compared to an average server.
If your server is running many mods, figure out which ones are using the most memory. You can do this by disabling each mod, one-by-one, and restarting your server. Then check your server's memory usage. If you find one that's using lots of memory, think about whether or not you really need it.
Each player on your server uses some memory. If your server is running mods, each player can use even more memory.
A larger world uses more memory. This one is pretty simple!