Mac Server Crash Error

  • 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

Jeza

New Member
Jul 29, 2019
36
0
0
I was trying to setup a server using the Direwolf20 Map. I downloaded the client files and ran the server through the .jar file as it was the only one that worked. This would eventually crash giving me the following:


Code:
[INFO] Starting minecraft server version 1.4.6
[WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[INFO] Loading properties
[INFO] Default game type: SURVIVAL
[INFO] Generating keypair
[INFO] Starting Minecraft server on *:25565
[INFO] Preparing level "world"
[INFO] Preparing start region for level 0
[INFO] Preparing spawn area: 4%
[INFO] Preparing spawn area: 5%
[INFO] Preparing spawn area: 9%

...(I shortened this because the post would be huge)...

Code:
[INFO] Preparing spawn area: 80%
[INFO] Preparing spawn area: 80%
[INFO] Preparing spawn area: 81%
[INFO] Preparing spawn area: 82%
[SEVERE] Encountered an unexpected exception OutOfMemoryError
java.lang.OutOfMemoryError: Java heap space
    at java.util.HashMap.addEntry(HashMap.java:753)
    at java.util.HashMap.put(HashMap.java:385)
    at java.util.HashSet.add(HashSet.java:200)
    at com.eloraam.redpower.world.WorldGenMarble.addBlock(WorldGenMarble.java:26)
    at com.eloraam.redpower.world.WorldGenMarble.searchBlock(WorldGenMarble.java:41)
    at com.eloraam.redpower.world.WorldGenMarble.a(WorldGenMarble.java:65)
    at com.eloraam.redpower.world.WorldGenHandler.generate(WorldGenHandler.java:117)
    at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:90)
    at im.a(ChunkProviderServer.java:259)
    at zz.a(Chunk.java:1258)
    at im.c(ChunkProviderServer.java:153)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:310)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at ho.c(DedicatedServer.java:179)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458)
    at fy.run(SourceFile:849)
[SEVERE] This crash report has been saved to: /Users/JeremyGaunt/Desktop/FTB/Server/Direwolf20_Server/./crash-reports/crash-2012-12-26_13.47.08-server.txt

Sorry if I did not post this in the right format it is my first time in this forum.
Thank you for any help, it would be much appreciated!
 
Have you tried increasing the amount of RAM in your startup script? It's an OutOfMemoryError, but I don't know if this is caused by something else.

Please post your java version also.
 
cd ~(replace with link to file) ex: /uses/username/desktop/ftb
java -Xincgc -Xmx1024M -jar minecraft_server.jar

save this as a .command file after you edit the cd~ part. then use this to launch the server