Sign in to follow this  

Fix for Crashing Clients Running Out of Java Heap Space

Recommended Posts

Add the following environment variables to Windows:


_JAVA_OPTIONS="-Xms6144m -Xmx6144m"

JAVA_OPTS="-Xms6144m -Xmx6144m"

JVM_ARGS="-Xms6144m -Xmx6144m"


Replace 6144m with values suitable for your system based on your available RAM. I have 32GB RAM and these are the settings I use. Chances are you don't have to add all three of these environment variables but since I didn't know which one was the correct one I just added them all. It seems to work just fine for me (solved my issue during Lunalong). No more clients crashing due to running out of heap space so far. Note that this works with the new (non-JNLP) client. Your mileage may vary but it's worth a shot if you're having trouble.


Edited by Neville

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this