Java Error while starting Launcher

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • 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

uncrushedIce

New Member
Jul 29, 2019
3
0
0
Title:
Java Error while starting Launcher
Launcher Version:
1.4.7-318
Modpack:
Modpack Version:
Log Link:
Details of the issue:
Ran into an Java.lang.outofmemory heap error when starting the Launcher. After reinstalling both Java and the Launcher and changing the Java runtime parameters to higher values (4G) i now run into an Java gc overhead limit error
 

uncrushedIce

New Member
Jul 29, 2019
3
0
0
Tried it with the General Java-Options as well as starting the Launcher via a batch-file with the corresponding commands. When i try it with the batch-file, the Command-Box says:
C:\xxx\xxx>java -Xms4G -Xmx4G -jar FTB_Launcher.jar
picked up _JAVA_OPTIONS: -Xmx12M
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size


I have no idea were it gets the Xmx12M from as i set the general Java runtime parameters to -Xms4G -Xmx4G also...

Regards
uncrushedIce
 

jikuja

legacy FTB Launcher developer
Launcher Developer
Global Moderator
Dec 17, 2013
1,134
111
99
You need to unset environment variable called _JAVA_OPTIONS in .bat or remove it from your computer.