Windows .exe Horizons will not run, crashes. *** RESOLVED ***

  • 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.

FoulCrafter

New Member
Jul 29, 2019
9
0
0
Operating System, bit type: amd64 Windows 7 6.1
Java version/update, bit type: 1.7.0_45
Anti-malware software: Webroot SecureAnywhere
Location you're downloading from: Set to Automatic
Launcher version: 1.2.9
Completed the troubleshooting guide (y/n): yes
Console log, pastebin.com link: pastebin.com/NVecHNqB

I've followed the troubleshooting guide. I've added the permsize parm. I've added the heapsize parm. I've added the maxpermsize parm. I've added maxheapsize parm. I've done all these adds that I've found on FTB web pages one at a time, by themselves, (not all together). I've even tried Eyamaz's parms, (which actually generated an error). None of these have worked. I can still launch Unleashed though.

When starting fresh, (empty FTB folder on desktop, downloading fresh launcher), the launcher downloads fine. I set the install path to the desktop FTB folder. I set the RAM Maximum to 5GB, (16GB on my PC with over 8GB free at the time launcher was run). At this point I left the Additional Java parms empty. I launch and the Horizons modpack downloads fine from what I can see. All the Minecraft assets download, rather slowly, but I wait.

Minecraft opens to the main menu. I go into single player to create a new world. The world is generated, I assume, as I see spawn being prepared. Stuff flies by in the console, loading this, using that, etc., etc., and I eventually get the "Shutting down internal server" message in Minecraft and a crash report is generated saying OutOfMemoryError: Java heap space.

In the Log, (sent to pastebin), I see this on line 4743:
Code:
2013-12-10 20:21:37 [INFO] [STDOUT]    JVM Flags: 8 total; -Xms256M -Xmx5120M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+AggressiveOpts -XX:+CMSClassUnloadingEnabled -XX:PermSize=128m -Xmx512M

Does that -Xmx512M override the initial -Xmx5120M? I didn't add anything to the additional java parms.

Give it to me straight. I work in I.T., so I might be able to understand details if you give them to me.

Thanks!!!
 
Last edited:

FoulCrafter

New Member
Jul 29, 2019
9
0
0
That particular run had no additional java parms entered by me. However, I did have both 32 and 64 bit java installed.

I have started over with the troubleshooting guide, removing the launcher, modpack, and all other files and folders in my FTB folder, removing ftblauncher folder, uninstalling all javas, rebooting, installing only 64-bit java, download new launcher, set max memory slider to 5GB, no additional java parms entered.

Modpack downloads without obvious errors, Minecraft executes and lands at the main menu. I start single player and create a new world and eventually end up with Minecraft displaying the "Shutting down internal server" error.

New console log: http://pastebin.com/uNUJxTLP
 

Ashzification

New Member
Jul 29, 2019
7,425
1
0
That particular run had no additional java parms entered by me. However, I did have both 32 and 64 bit java installed.

I have started over with the troubleshooting guide, removing the launcher, modpack, and all other files and folders in my FTB folder, removing ftblauncher folder, uninstalling all javas, rebooting, installing only 64-bit java, download new launcher, set max memory slider to 5GB, no additional java parms entered.

Modpack downloads without obvious errors, Minecraft executes and lands at the main menu. I start single player and create a new world and eventually end up with Minecraft displaying the "Shutting down internal server" error.

New console log: http://pastebin.com/uNUJxTLP
And that kids is how you do it!
Let me peruse your log while I wait for my tea :)[DOUBLEPOST=1386808536][/DOUBLEPOST]Are you using a texture or sound pack?
Also, can you post just the crash log?
grumbles to self, all that adding assests crap is spoiling my easy to navigate logs and making them humungous.
 

FoulCrafter

New Member
Jul 29, 2019
9
0
0
Another run. In this one, I only added "-XX:permSize=1024M" to the additional java parms, nothing else changed, including the error and crash.

New console log: http://pastebin.com/UXAcf6B9

No texture or sound packs in use, strictly a clean install of the modpack.

Also, can you post just the crash log?

Tell me where I can find it?
 

FoulCrafter

New Member
Jul 29, 2019
9
0
0
After a bit of research and self-education, I believe the -Xmx512M java option at the end of the JVM Flags line is the problem.
Code:
JVM Flags: 9 total; -Xms256M -Xmx5120M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+AggressiveOpts -XX:+CMSClassUnloadingEnabled -XX:permSize=128m -XX:permSize=1024M -Xmx512M
I didn't add that option. In fact, the only options added by me are -Xmx5120M (via the RAM Maximum slider), and PermSize=1024M (via the Additional Java Parameters).
Darn smiley faces taking over the java options
Since the error I'm getting is "OutOfMemoryError: Java heap space" the problem has to be the -Xmx512M option that's being added. I don't even need to add the PermSize option because I'm not getting a PermGen error. I have no idea why the -Xmx512M option is being added to the end of the java options. But, it having been added is, I believe, overriding the previously specified -Xmx5120M option.

So...where did the -Xmx512M come from?!?
 

FoulCrafter

New Member
Jul 29, 2019
9
0
0
Based on one of Eyamaz's posts in his JVM Arguments thread, I right-clicked my Computer icon (windows 7), selected Properties, then selected Advanced system settings, and then clicked the Environment Variables button. In the System variables I find, as the first entry, "_JAVA_OPTIONS" with a value of "-Xmx512M". Deleting that entry has resolved my out of heap memory issues and I can run the Horizons modpack with 6GB. WOOHOO!!!!!
 
  • Like
Reactions: Ashzification
Status
Not open for further replies.