Operating System: EndeavourOS
KDE Plasma Version: 6.5.0
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Someone on the Arch Forum referred me here.
So you all know, I’m a total arch noob and only use it since the beginning of October.
I bet someone is going to ask for logs, so I would appreciate it if you tell me where to find the ones needed.
What I did already:
Multiple System updates, fresh installations of Java and PrismLauncher, made a 2Gb swapfile and smaller things I just forgot.
As soon as I start Minecraft, the Java process uses more and more Ram until my pc runs out of it.
VirtualVM shows me that the Java process has a max heap of 8Gb (as I set it to), the size and what it uses, which all look normal but Systemmonitor shows what it overall uses or used.
The “Perform GC” button in VisualVm look that they work as intended, but I can’t see it in Systemmonitor.
I thought at first, that Systemmonitor maybe shows a different Java process or isn’t just precise, but when I kill/compare the process, VisualVm shows as well, that it is the same one.
I mainly try to play Vault Hunters and the mod to the Modpack prevents Minecraft to fully end, so I have to kill the process every time.
When not in use, Minecraft ends completely normal, as well as Java, but it will still accumulate RAM usage.
Last time I started Minecraft said
Systemmonitor that it uses 9.8Gb
VisualVM say it’s Heap size: 5.7Gb of which are 4.7 used and 8.4Gb is max
“free -m” says it got 32Gb overall / 8.5Gb used / 14Gb free / 461mb gemns. / 9.3Gb Puffer/Cache / 23Gb available
-Xms is set to 512mb
(idk what gemns. means, but maybe that is the german abbreviation for together)