Solved Local Modded server freezing/crashing on start up

  • 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

Primal Demon

New Member
Jul 29, 2019
216
0
0
Hi there!

So I will try to explain the problem and the steps i have taken to try and solve it as simply as possible(sorry if i dont make sense some times)

It is worth noting that i ran the server in vanilla and with JUST thaumcraft and the server ran fine both times. I also gave the files to Friend with a beefer PC and he had the same issues.

What i am using in the .Bat file:
title run-minecraft
java -Xms1024M -Xmx2048M -XX:MaxPermSize=256M -jar FTBServer-1.7.10-1263.jar nogui
pause
PC specs/Useful info:
Windows 8.1
Processor: I-Core5-4590
Ram: 8gb
64bit java 7up72
Forge .1263

I am planning on running a local server for me and a few friends.
This is a modded server and here is a list of mods that are on it
Baulbles
Code Chicken Lib
Technomancy
Apple Core
bdlib
Binnies mods
Blood Magic
Botania
Buildcraft
Chicken Chunks
Chisel
Code Chicken Core
COFH Core
COFH Lib
Ender Storage
Ex Nihilo
Extra Utilities
Forestry
Forge Multipart
Gendustry
Hunger Overhaul
In Game Wiki Mod
Inventory Tweaks
Iron Chests
JABBA
Journey Map(removed)
Logistics Pipes
Magic Bees
Mantle
Minefactory Reloaded
Minetweaker
Modtweaker
NEI addons
NEI Integration
NEI Plugins
NEI
Openblocks
Open Mods lib
Pam's Harvestcraft
Perfect Spawn
PneumaticCraft
Quadrum
Solar Expansion
Steve's Factory Manager
Tinker's Construct
Thaumcraft
Thaumic Tinkerer
Thermal Expansion
Thermal Foundation
Tinker's Tooltips
Tinker's Mechworks
Twilight Forest
WAILA (Removed)
Yet another mod pack statistics tool

so after removing client side mods such as WALIA and Minimaps
i decided to run the server and it runs fin up until it tried to load in minefactory reloaded mod then I would just get this error spamming the console over and over:
Java.lang.Throwable$WrappedPrintStream: Printin:-1]: Java.lang.OutOfMemorryError: PermGen space
After waiting for 20-30 mins it would sometimes crash or I would just plain give up and shut it down

after shutting it down i would look in the logs to see what happened and sometimes it would not give a log but when it did i would get this..
[22:05:32] [Server thread/INFO]: Starting minecraft server version 1.7.10
[22:05:32] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_72]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_72]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_72]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_72]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_72]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_72]
at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]
[22:05:56] [Server thread/INFO]: Loading properties
[22:05:56] [Server thread/INFO]: Default game type: SURVIVAL
[22:05:56] [Server thread/INFO]: Generating keypair
[22:05:56] [Server thread/INFO]: Starting Minecraft server on ***.**.**.*:25565
[22:06:39] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.OutOfMemoryError: PermGen space

As you can see it clearly states out of permGen at the end so i tried allocating 256 and 512 but i would get the exact same issue. Which leads me on to the next thing I tried..

After that I tried removing MineFactoryReloaded and came across some success
But after Loading in every mod i would end up with this error come up in the Console log
[tconstruct]: skipping fmlpostinitialization event and marking errored mod tconstruct since required dependency matal has errored
After waiting a while I would get the Exact same error again:
Java.lang.Throwable$WrappedPrintStream: Printin:-1]: Java.lang.OutOfMemorryError: PermGen space
So I tried Removing TinckersConstruct but the server just instantly crashed on start up.
So I put it back in again.
As you can see everything I do suggests more PermGen but 512 PermGen should be MORE than enough... right?

Which leads me to where I am now.
After asking 3 different people who all have experience in making servers I am forced to ask the forums.
So sorry if I left something out or gave too much info but i wanted to be a thorough as possible.

Thank you for reading this and for your help
(I will be around if you have any suggestions)
 
Last edited:

tindin

New Member
Jul 29, 2019
369
0
0
WALIA is ok to have on the server..

best bet uninstall java and reinstall 64 java 7

and please post full crash-logs
 

Primal Demon

New Member
Jul 29, 2019
216
0
0
WALIA is ok to have on the server..

best bet uninstall java and reinstall 64 java 7

and please post full crash-logs

I am allready running the 64 java 7 but ill re install it any way
as for the crash logs i am unable to get it to crash any more ill try again soon.
But i know something is wrong as the error is spammed in the server log constantly even after leaving it for 30 mins it just keeps on spamming me

*edited after waiting for an hour*
After loading the server and waiting an hour the server is still spamming me with the same error
Here is a screen shot of the server log
Screenshot (16).png
 
Last edited:

Leksandr_ua

New Member
Jul 29, 2019
44
0
0
Hi there!

So I will try to explain the problem and the steps i have taken to try and solve it as simply as possible(sorry if i dont make sense some times)

It is worth noting that i ran the server in vanilla and with JUST thaumcraft and the server ran fine both times. I also gave the files to Friend with a beefer PC and he had the same issues.

What i am using in the .Bat file:
title run-minecraft
java -Xms1024M -Xmx2048M -XX:MaxPermSize=256M -jar FTBServer-1.7.10-1263.jar nogui
pause
PC specs/Useful info:
Windows 8.1
Processor: I-Core5-4590
Ram: 8gb
64bit java 7up72
Forge .1263

I am planning on running a local server for me and a few friends.
This is a modded server and here is a list of mods that are on it
Baulbles
Code Chicken Lib
Technomancy
Apple Core
bdlib
Binnies mods
Blood Magic
Botania
Buildcraft
Chicken Chunks
Chisel
Code Chicken Core
COFH Core
COFH Lib
Ender Storage
Ex Nihilo
Extra Utilities
Forestry
Forge Multipart
Gendustry
Hunger Overhaul
In Game Wiki Mod
Inventory Tweaks
Iron Chests
JABBA
Journey Map(removed)
Logistics Pipes
Magic Bees
Mantle
Minefactory Reloaded
Minetweaker
Modtweaker
NEI addons
NEI Integration
NEI Plugins
NEI
Openblocks
Open Mods lib
Pam's Harvestcraft
Perfect Spawn
PneumaticCraft
Quadrum
Solar Expansion
Steve's Factory Manager
Tinker's Construct
Thaumcraft
Thaumic Tinkerer
Thermal Expansion
Thermal Foundation
Tinker's Tooltips
Tinker's Mechworks
Twilight Forest
WAILA (Removed)
Yet another mod pack statistics tool

so after removing client side mods such as WALIA and Minimaps
i decided to run the server and it runs fin up until it tried to load in minefactory reloaded mod then I would just get this error spamming the console over and over:
Java.lang.Throwable$WrappedPrintStream: Printin:-1]: Java.lang.OutOfMemorryError: PermGen space
After waiting for 20-30 mins it would sometimes crash or I would just plain give up and shut it down

after shutting it down i would look in the logs to see what happened and sometimes it would not give a log but when it did i would get this..
[22:05:32] [Server thread/INFO]: Starting minecraft server version 1.7.10
[22:05:32] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_72]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_72]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_72]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_72]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_72]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_72]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_72]
at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]
[22:05:56] [Server thread/INFO]: Loading properties
[22:05:56] [Server thread/INFO]: Default game type: SURVIVAL
[22:05:56] [Server thread/INFO]: Generating keypair
[22:05:56] [Server thread/INFO]: Starting Minecraft server on ***.**.**.*:25565
[22:06:39] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.OutOfMemoryError: PermGen space

As you can see it clearly states out of permGen at the end so i tried allocating 256 and 512 but i would get the exact same issue. Which leads me on to the next thing I tried..

After that I tried removing MineFactoryReloaded and came across some success
But after Loading in every mod i would end up with this error come up in the Console log
[tconstruct]: skipping fmlpostinitialization event and marking errored mod tconstruct since required dependency matal has errored
After waiting a while I would get the Exact same error again:
Java.lang.Throwable$WrappedPrintStream: Printin:-1]: Java.lang.OutOfMemorryError: PermGen space
So I tried Removing TinckersConstruct but the server just instantly crashed on start up.
So I put it back in again.
As you can see everything I do suggests more PermGen but 512 PermGen should be MORE than enough... right?

Which leads me to where I am now.
After asking 3 different people who all have experience in making servers I am forced to ask the forums.
So sorry if I left something out or gave too much info but i wanted to be a thorough as possible.

Thank you for reading this and for your help
(I will be around if you have any suggestions)

Try to set not MAX value of PermSize, just -XX:permSize=256M
 
  • Like
Reactions: Primal Demon