Direwolf20 - Game Crash

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
Status
Not open for further replies.

Pressure

New Member
Jul 29, 2019
2
0
0
Operating System: Windows 7 64-bit
Java Version: Java 7_u51 64-bit
Launcher Version: V1.3.3
Minecraft Crash Log: http://pastebin.com/zsg0xqsu
Console Log: http://pastebin.com/VH8B13gW

The auncher wont even load Direwof20 modpack. It does its thing for about 30 seconds and then crashes and shuts down. Ive uninstalled all of the other Java versions off my computer, and have installed the new version of java. Im at a loss at what to do. Id really like this to work so i can continue to play with my friends.
 
Last edited:

JamiePhonic

New Member
Jul 29, 2019
404
0
0
why are so many people getting this Exact same issue:
heres the problem (on line 91 of your first log):
Code:
JVM Flags: 4 total; -Xms256M -Xmx7168M -XX:PermSize=256m -Xmx512M
the launcher is trying to start the game with a reserved memory space of 256 MB (-Xms256M) and a maximum of 7GB (-Xmx7168M) and permgen size of 256MB (-XX:PermSize=256m ) which is usually all it does by default. you have also specified "-Xmx512M" as extra parameters in the "additional Java parameters" section of the advanced settings and so the second max memory space parameter (-Xmx512) is overriding the first one, hence why changing the MAX RAM in the launcher is making no difference and your game is still running out of RAM.

fix it by going to the settings tab of the launcher, click "advanced options" and then just clear the "additional Java parameters" box and ONLY use the recommended parameters found here Pasted below AFTER you get it to launch with the box cleared
Code:
-Xms1024m -XX:PermSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc
 
  • Like
Reactions: lavarthan

lavarthan

New Member
Jul 29, 2019
2,437
0
0
[INFO] [STDOUT] java.lang.OutOfMemoryError: Java heap space
JVM Flags: 4 total; -Xms256M -Xmx7168M -XX:permSize=256m -Xmx512M
Note the second xmx flag, or argument. Use this guide to remove the Global Variables for Java.Then use these arguments for the launcher as pointed out by JamiePhonic.

why are so many people getting this Exact same issue:
Not sure I believe Java or windows puts it in the Global Variables by default. I do not have it though and as far as I remember never did.
 

Pressure

New Member
Jul 29, 2019
2
0
0
I tried to remove the global variables but it keeps coming back. I could only find it in the first scroll box not the second. and everytime i removed it it would just default back to -Xmx512M and continues to crash.
 
Last edited:

lavarthan

New Member
Jul 29, 2019
2,437
0
0
That is where I meant. Are any java processes running when you edit the variables? Or any browsers, like Chrome? You might also want to try running as an admin when you make the changes and/or try the Java control panel when you are on an admin account as listed just above that post I pointed you to. This was quoted from the arguments thread.
 

Adwaelwin

New Member
Jul 29, 2019
2
0
0
Code:
-Xms1024m -XX:PermSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc
This doesn't work for me, when i use it i've got this in my console:

Code:
Syncing Assets:
The FTB Launcher has found the following Java versions installed:
The FTB Launcher has found the following Java versions installed:
Java Path: C:\Program Files\Java\jre7\bin\javaw.exe
Setting MinMemory to 256
Setting MaxMemory to 2048
Defaulting PermSize to 256m
Error occurred during initialization of VM
Incompatible minimum and maximum heap sizes specified
Picked up _JAVA_OPTIONS: -Xmx512M

Any solution ?
 

JamiePhonic

New Member
Jul 29, 2019
404
0
0
i assume your running windows 7, so do this:

1. search for "environment variables" in the start menu
2. choose the "edit the system environment variables"
3. in the box that appears, click "environment variables" at the bottom
4. scroll down both of the boxes, and if it exists, delete the one labelled "_JAVA_OPTIONS"
5. restart your system to ensure the changes take effect. your game should now run. you wont need to change anything in the launcher
 
Status
Not open for further replies.