#Java use permanent 11 GB Ram can't close

1 messages · Page 1 of 1 (latest)

agile flame
#

Right click on the entry, you'll see multiple ways to kill the process

trim kraken
#

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

unreal relic
#

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

trim kraken
#

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

unreal relic
#

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

trim kraken
#

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