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.
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