3

Java ignoring RAM allocation

Deadraider37 12/31/22 1:41 pm
217
2/17/2023 3:26 pm
So interesting issue here, all ram allocations, no matter what Minecraft Java launcher I use, just won't work at all, but most notably for any vanilla version 1.14 and up, and my one 1.12.2 modpack. It leaves no trace in the logs, and the game, allocated to six gigabytes of ram, takes up all of my machines sixteen AND my eight gigabytes of swapspace and causes a Kernel Panic (Basically a blue screen for you windows users) because the hard drive is too slow for swapspace I have tried the official launcher, ATLauncher, SKlauncher, and even MultiMC. Should I take this to the bug tracker and get some official help, or am I an idiot and there is an obvious fix?

Just some info:
System - Debian 10 "Buster"
Linux Kernel version - SMP Debian 4.19.269-1 (2022-12-20)
Desktop Environment - KDE Plasma 5.14.5
Java version - openjdk 11.0.16 (2022-07-19)
CPU (Probably not needed but why not) - Intel i7-4790 @ 3.6GHz
Posted by
Deadraider37
Level 25 : Expert System
5

  Have something to say?

JoinSign in

2

VintagePhil
02/17/2023 3:26 pm
Level 19 : Journeyman Artist Birb
history
I had a similar issue and found this solution:

-XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

This works with the vanilla Mincraft Launcher and with every mod pack I play with.
In your Launcher head over to "Installations" then hover over the one you are going to play with, click the three dots, then "Edit" > "More Options" then paste this into the field below. Next restart the launcher and play MC normally.
1
star_weaver
01/01/2023 4:51 am
She/Her • Level 27 : Expert Princess Button Pusher
thats normal
2

Welcome