MrBretzel
MrBretzel
Any news on this issue ?
(Version 2.1.1 on ubuntu 20.04.1LTS)
I have exact the same problem, and i have added the "swapaccount=1 cgroup_enable=memory setup" to the grub config...
I have made this change (swapaccount and cgroup_enable has already in this mod in the grub config). I have rebooted my dedi server and my server doesn't no decrease ram...
> So it was just slowly increasing and at no point decreasing right? Yes > I tried this as well and RAM wasn't decreasing so I'm assuming it's a real...
So after some testing, I found a "Java issue" for this one, java **NEVER** clears the G1 old garbage collector. It's supposed to do it automatically, but I don't know...
>Does your system also report the same amount of memory consumption (e.g. htop)? Yes its report the same amout of memory, >Has anyone tested running the exact same version of...
> Has anyone tested running the exact same version of Paper outside of Pterodactyl? Does your system also report the same amount of memory consumption (e.g. `htop`)? So after having...
@KugelblitzNinja and @Loren013 Currently, the only 'fix' I have found is to use this command line: `java -Xms128M -XX:+UseContainerSupport -XX:MinRAMPercentage=25 -XX:MaxRAMPercentage=50 -jar {{SERVER_JARFILE}}` It's **important not to** specify the **'Xmx'**...
> Specify Xms or Xmx? Asking because in the startup command you wrote 'Xms' and you're saying not to specify the 'Xms' Oops indeed I was wrong! Sorry !