Configuration with Sons Of The Forest - Memory Limit not changable. System crashes after some hours playing

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.2.8 (Mainline)
Virtualization Docker
Application Sons Of The Forest
Module GenericModule
Running in Container Yes
Current State Stopped

Problem Description

Issue

I can’t set a memory limit for the container, so over time the server consumes everything, and eventually the web interface stops working, forcing me to restart the entire server.

Reproduction Steps

  • Create new Sons of the Forest Instance
  • Start the Instance
  • PLay on this Server

Why can’t you set a memory limit for the container?

I can’t find any setting in the AMP UI to configure this. For example, with Minecraft I can do it in the configuration. AMP and all instances are running in Docker.

Click on the pencil icon on the instance to set a docker memory limit

Most servers are not like Minecraft - Minecraft runs in a Java VM, and therefore you can limit memory for the Java VM. That’s not limiting docker, that is limiting Java

Other servers will use the memory they want. You can restrict it via the docker environment, but that might just end up meaning your server crashes or just performs very badly because it is swapping all the time

Yes, that’s what I was looking for. Thank you so much!
16GB isn’t really that much for 2x Minecraft, one SotF, and one CS2. I’ll have to add more RAM :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.