Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved RAM Allocation by Default

Joined
Dec 13, 2015
Messages
20
You might have figured this out but other people probably want to know. Since this is a JVM there isn't a default allocated amount of memory. A JVM will use as much or as little RAM as it needs. You can control the min and max heap using the java flags -Xms###$ and -Xmx###$ where the # symbol is the amount of RAM and $ is k, m, or g for kilobyte, megabyte, or gigabyte.

Example of the command:
java -jar -Xms512m -Xmx1024m RuneMate.jar

This sets the min heap to 512 MBs and the max to 1024 MBs. You do not need to set either or could set one and still run the client. The Jagex client runs with a max heap of 384 MBs (at least on my system it does) but they do not have all the extra anti-ban code running.

You can read more in the java help or on stackoverflow: What are the Xms and Xmx parameters when starting JVMs?

Edit: Forgot to add that the client will still use more than the max heap that is set if it requires it but will try to stick around the settings.
 
Last edited:
Top