Piloty Posted May 4, 2019 Share Posted May 4, 2019 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 Quote Link to comment Share on other sites More sharing options...
Ness27 Posted May 4, 2019 Share Posted May 4, 2019 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.