#Java use permanent 11 GB Ram can't close
1 messages · Page 1 of 1 (latest)
pidof java
sudo kill -9 pid
wherein you replace pid with the pidof java
or just killall java with or without sudo, notaeably this will kill all java apps which could include other apps depending on what you are running
How can I prevent Java from suddenly consuming so much RAM while playing? I am almost at the limit every time and only use a maximum of 8GB in the game that I have allocated
You can set it to use less in its settings presumably because java understands such a setting however if it requires more it will simply crash
normally it should kill java when the game exits
Only 8 GB is set in the settings. However, Java always uses around 11 GB. At 16 GB, my PC starts to hang. Am then at a utilization of 14 GB Ram
you can disable some mods if you want lower ram usage
as with java -Xmx is the max ram it can allocate
-Xms is the minimum it will use
ensure you have changed the correct variable to limit it
note there is no shortcut to make it somehow use less ram and still do the same thing if you want it to use less you will have to do something that will actually reduce usage eg disable mods give it less complex things to draw, less to draw for instance draw distance