Customization with Minecraft - Memory Usage is too high

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Callisto’ v2.5.0.8 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Issue

The Memory Usage of my Minecraft server is too high sometimes. I have the second plan for games (8GB of RAM) and I have dedicated 7.3GB of RAM to server to let some space for other process.

The server type is Forge 40.2.21 for Minecraft version 1.18.2 and I have some mods that can run in Aternos, so it should be ok in this server. I have configured some data and nothing help me.

Reproduction Steps

  • Start server
  • Try to connect
  • Fatal error in Minecraft
  • It kick us from server
  • Server is restarting
  • Check server status and see that Memory Usage doesn´t drop below 7GB

We are not Hostinger, this is the forum for AMP.
Some modpacks just require that much ram, or there may be some other issue that you’ll need to resolve by reading the log.