Minecraft Server Auto Shut Down

Discussion in 'Bukkit Help' started by mitchbtam, Jul 12, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    mitchbtam

    When I try to start my minecraft server it automatically shuts off a few seconds after it finishes loading. This happened after I changed some permisions on multiverse maps. Here is the log


    Code:
    2011-07-12 14:53:32 [INFO] Starting minecraft server version Beta 1.7.2
    2011-07-12 14:53:32 [INFO] Loading properties
    2011-07-12 14:53:32 [INFO] Starting Minecraft server on *:25565
    2011-07-12 14:53:32 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)
    2011-07-12 14:53:32 [INFO] [Permissions] (Yeti) was initialized.
    2011-07-12 14:53:32 [INFO] [Permissions] version [3.1.6] (Yeti)  loaded
    2011-07-12 14:53:32 [INFO] Preparing level "world"
    2011-07-12 14:53:32 [INFO] Preparing start region for level 0 (Seed: -8123545470113196965)
    2011-07-12 14:53:33 [INFO] Preparing start region for level 1 (Seed: 4981899723704813758)
    2011-07-12 14:53:33 [INFO] Preparing spawn area: 93%
    2011-07-12 14:53:33 [INFO] Loaded Essentials build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-12 14:53:33 [INFO] Loaded EssentialsChat build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-12 14:53:33 [INFO] Loaded EssentialsGeoIP build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-12 14:53:33 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
    2011-07-12 14:53:33 [INFO] Loaded EssentialsProtect build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-12 14:53:33 [INFO] Loaded EssentialsSpawn build 2.4.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-12 14:53:33 [INFO] [MultiVerse] Permissions Found
    2011-07-12 14:53:33 [INFO] [MultiVerse] - Version 1.7.2 Enabled
    2011-07-12 14:53:33 [INFO] [MultiVerse] Loading World & Settings - 'world_nether' - NETHER
    2011-07-12 14:53:33 [INFO] [MultiVerse] Loading World & Settings - 'world' - NORMAL
    2011-07-12 14:53:33 [INFO] [MultiVerse] Loading World & Settings - 'Glacier' - NORMAL
    2011-07-12 14:53:33 [INFO] Preparing start region for level 2 (Seed: 1772835215)
    2011-07-12 14:53:34 [INFO] [MultiVerse] Loading World & Settings - 'Roughsauce' - NORMAL
    2011-07-12 14:53:34 [INFO] Preparing start region for level 3 (Seed: 62398864)
    2011-07-12 14:53:34 [INFO] [MultiVerse] Loading World & Settings - 'SurvivalBox' - NORMAL
    2011-07-12 14:53:34 [INFO] Preparing start region for level 4 (Seed: -903966813)
    2011-07-12 14:53:35 [INFO] [MultiVerse] Loading World & Settings - 'SurvivalIsland' - NORMAL
    2011-07-12 14:53:35 [INFO] Preparing start region for level 5 (Seed: 1049931800136937625)
    2011-07-12 14:53:35 [INFO] [MultiVerse] Loading World & Settings - 'LostIsland' - NORMAL
    2011-07-12 14:53:35 [INFO] Preparing start region for level 6 (Seed: -2001368998)
    2011-07-12 14:53:36 [INFO] [MultiVerse] Loading World & Settings - 'LostIslands' - NORMAL
    2011-07-12 14:53:36 [INFO] Preparing start region for level 7 (Seed: -76654609)
    2011-07-12 14:53:36 [INFO] [MultiVerse] Loading World & Settings - 'IslandPlayset' - NORMAL
    2011-07-12 14:53:36 [INFO] Preparing start region for level 8 (Seed: -135177726)
    2011-07-12 14:53:37 [INFO] [MultiVerse] Loading World & Settings - 'Skylands' - NORMAL
    2011-07-12 14:53:37 [INFO] Preparing start region for level 9 (Seed: 2410989659)
    2011-07-12 14:53:37 [INFO] [MultiVerse] Loading World & Settings - 'SI1' - NORMAL
    2011-07-12 14:53:37 [INFO] Preparing start region for level 10 (Seed: 4431064177836963840)
    2011-07-12 14:53:37 [INFO] [MultiVerse] Loading World & Settings - 'SI2' - NORMAL
    2011-07-12 14:53:37 [INFO] Preparing start region for level 11 (Seed: 478098681)
    2011-07-12 14:53:38 [INFO] [MultiVerse] Loading World & Settings - 'SH1' - NORMAL
    2011-07-12 14:53:38 [INFO] Preparing start region for level 12 (Seed: -3287471072536663810)
    2011-07-12 14:53:38 [INFO] [MultiVerse] Loading World & Settings - 'SH2' - NORMAL
    2011-07-12 14:53:38 [INFO] Preparing start region for level 13 (Seed: -1944491816)
    2011-07-12 14:53:39 [INFO] [MultiVerse] Loading World & Settings - 'SH3' - NORMAL
    2011-07-12 14:53:39 [INFO] Preparing start region for level 14 (Seed: 1827519368)
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] [MultiVerse] Loading World & Settings - 'SH4' - NORMAL
    2011-07-12 14:53:39 [INFO] Preparing start region for level 15 (Seed: -1199660665)
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:39 [INFO] [MultiVerse] Loading World & Settings - 'SH5' - NORMAL
    2011-07-12 14:53:39 [INFO] Preparing start region for level 16 (Seed: 2130002451)
    2011-07-12 14:53:40 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:40 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:40 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:40 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:40 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:40 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:40 [INFO] Attempted to place a tile entity where there was no entity tile!
    2011-07-12 14:53:40 [INFO] [MultiVerse] Loading World & Settings - 'SH6' - NORMAL
    2011-07-12 14:53:40 [INFO] Preparing start region for level 17 (Seed: 1661298166004582476)
    2011-07-12 14:53:41 [INFO] [MultiVerse] Loading World & Settings - 'SH7' - NORMAL
    2011-07-12 14:53:41 [INFO] Preparing start region for level 18 (Seed: 666)
    2011-07-12 14:53:41 [INFO] [MultiVerse] Loading World & Settings - 'SH8' - NORMAL
    2011-07-12 14:53:41 [INFO] Preparing start region for level 19 (Seed: 832172985)
    2011-07-12 14:53:43 [SEVERE] Error occurred while enabling MultiVerse v1.7.2 (Is it up to date?): Java heap space
    java.lang.OutOfMemoryError: Java heap space
        at net.minecraft.server.NBTTagByteArray.a(SourceFile:21)
        at net.minecraft.server.NBTBase.b(SourceFile:64)
        at net.minecraft.server.NBTTagCompound.a(SourceFile:24)
        at net.minecraft.server.NBTBase.b(SourceFile:64)
        at net.minecraft.server.NBTTagCompound.a(SourceFile:24)
        at net.minecraft.server.NBTBase.b(SourceFile:64)
        at net.minecraft.server.CompressedStreamTools.a(SourceFile:46)
        at net.minecraft.server.ChunkRegionLoader.a(SourceFile:29)
        at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:136)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:65)
        at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:432)
        at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:371)
        at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:367)
        at com.onarandombox.Rigby.MultiVerse.MultiVerse.loadWorlds(MultiVerse.java:380)
        at com.onarandombox.Rigby.MultiVerse.MultiVerse.onEnable(MultiVerse.java:115)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-12 14:53:43 [INFO] WorldEdit 4.6 enabled.
    2011-07-12 14:53:43 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-12 14:53:45 [SEVERE] Error occurred while enabling WorldEdit v4.6 (Is it up to date?): Java heap space
    java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOfRange(Unknown Source)
        at java.lang.String.<init>(Unknown Source)
        at java.lang.StringBuilder.toString(Unknown Source)
        at org.yaml.snakeyaml.reader.StreamReader.getMark(StreamReader.java:74)
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanPlain(ScannerImpl.java:1593)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchPlain(ScannerImpl.java:860)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:348)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseFlowSequenceEntry.produce(ParserImpl.java:646)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:82)
        at com.sk89q.worldedit.bukkit.WorldEditPlugin.loadConfiguration(WorldEditPlugin.java:127)
        at com.sk89q.worldedit.bukkit.WorldEditPlugin.onEnable(WorldEditPlugin.java:95)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    2011-07-12 14:53:48 [INFO] Done (1.550s)! For help, type "help" or "?"
    2011-07-12 14:53:53 [INFO] Stopping server
    
     
  2. Offline

    Crimsonfox

    Try disabling Permissions and see if the problem persists and if it does then try loading less worlds to see if it has any effect.
     
  3. Offline

    obscurehero

    java.lang.OutOfMemoryError: Java heap space
    I'm not an expert, but I'd say thats your problem.
     
  4. Offline

    mitchbtam


    This is my start.bat file at a txt


    Code:
    @echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms2048M -Xmx2048M -jar craftbukkit.jar
    pause

    This is what comes up when I try running it again as a .bat file

    Code:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Press any key to continue . . .
    Please can anyone help, I can't find the fix for this.

    bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  5. Offline

    Meta1203

    Do you have 2 gbs of AVAILABLE ram? The -Xms2048M part tells java to use AT LEAST 2 gigabytes at any given moment. Just change the 2048 part to however much you want/need in megabytes.
     
  6. Offline

    mitchbtam

    I am giving Java 4 Gigs of ram and my computer has 12.

    Code:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Press any key to continue . . .
    Comes up even when minecraft isn't even open.

    bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  7. Offline

    mitchbtam

  8. Offline

    Holyshit

    As Meta sad try to give the server less or even more ram because
    Code:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    Press any key to continue . . .
    Says that there is something wrong with your RAM...
    So give it the normal 1GB and try again or you try to do another world.
    Generate a new one.
    But i think its the RAM, i had that problem too.
    Im dont an Expert if this doesnt help.
     
  9. Offline

    cnaude

    You won't be able to allocate a 2GB heap with a 32 bit JVM. Lowering your heap to 1Gb should resolve the issue. If you really need 2GB then use a 64 bit JVM.

     
  10. Offline

    flaaghara

    Try using the new .bat format found on the Bukkit Wiki:
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
    
     
  11. Offline

    mitchbtam


    Same thing.
     
  12. Offline

    mitchbtam

    Nobody has any ideas?
     
  13. As stated before, you need to use the 64 bit version of Java to use more than a gig of ram. Uninstall java 32 bit and install the 64 bit version, then change your run.bat to
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "C:\Program Files\Java\jre6\bin\java.exe" -Xms2096M -Xmx2096M -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE
    If you're using a 32 bit version of windows, though, you won't be able to use more than a gig
     
  14. Offline

    Sydael

    I have the same problem.
    The point is that i was running my server fine untill today. And i have 16GB of ram and for Server i use 13GB.
    Whats the problem?
     
  15. Offline

    Exotic Craft

    I have the same problem but this is my error that it gives me: (I'll upload it as soon as it gives it to me again cause it didnt log it)
     
Thread Status:
Not open for further replies.

Share This Page