Jump to content

Recommended Posts

Posted

Me and my friend are trying to play and he has downloaded sky factory 4.0 and can open launcher. It just gives him this error message.

 

Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Invalid maximum heap size: -Xmx4096M

Posted

That error occurs under the circumstances of attempting to allocate 4gb of ram using a Java JRE 32bit version. Java 32bit cannot create the JVM. Download and install Java JRE 8 64bit to be able to play. I also recommend giving the launcher a little more ram, roughly 5-6gb should be fine, depending on how much ram you actually have.

 

Here is a Java JRE 8 64bit download: HERE

If you use Windows, make sure to get this one -> Windows Offline (64-bit)

 

Edit- Be sure to uninstall the 32bit Java version to avoid conflictions

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site you agree to the following Terms of Use, Guidelines and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.