Worldedit + Massive TNT explosion crashes server...

Discussion in 'Bukkit Help' started by Nlioc4, Jul 2, 2011.

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


    Ever since me and a friend tried to test the limits of our server and explode a crap load of tnt using WorldEdit its been messed up
    When ever anyone, (usually a certain player) goes near our blast site (which crashed the server when we exploded it) the server gives this error, and then will no longer let anyone join until it restarts
    21:58:18 [INFO] Battleship62 [/] logged in with entity id 365 a
    t ([Mainworld] 489.6875, 71.0, -1589.3125)
    21:58:20 [WARNING] Can't keep up! Did the system time change, or is the server o
    22:00:03 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    22:00:03 [SEVERE]       at java.util.Arrays.copyOf(Unknown Source)
    22:00:03 [SEVERE]       at java.lang.AbstractStringBuilder.expandCapacity(Unknow
    n Source)
    22:00:03 [SEVERE]       at java.lang.AbstractStringBuilder.append(Unknown Source
    22:00:03 [SEVERE]       at java.lang.StringBuilder.append(Unknown Source)
    22:00:03 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    22:00:03 [SEVERE]       at net.minecraft.server.Explosion.a(
    22:00:03 [SEVERE]       at net.minecraft.server.World.createExplosion(
    22:00:03 [SEVERE]       at net.minecraft.server.WorldServer.createExplosion(Worl
    22:00:03 [SEVERE]       at net.minecraft.server.EntityTNTPrimed.explode(EntityTN
    22:00:03 [SEVERE]       at net.minecraft.server.EntityTNTPrimed.o_(EntityTNTPrim
    22:00:06 [SEVERE]       at net.minecraft.server.World.entityJoinedWorld(World.ja
    22:00:06 [SEVERE]       at net.minecraft.server.WorldServer.entityJoinedWorld(Wo
    22:00:06 [SEVERE]       at net.minecraft.server.World.playerJoinedWorld(World.ja
    22:00:06 [SEVERE]       at net.minecraft.server.World.cleanUp(
    22:00:06 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    22:00:06 [SEVERE]       at
    22:00:06 [SEVERE]       at
    22:00:06 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
            at java.util.Arrays.copyOf(Unknown Source)
            at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
            at java.lang.AbstractStringBuilder.append(Unknown Source)
            at java.lang.StringBuilder.append(Unknown Source)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
            at net.minecraft.server.Explosion.a(
            at net.minecraft.server.World.createExplosion(
            at net.minecraft.server.WorldServer.createExplosion(
            at net.minecraft.server.EntityTNTPrimed.explode(
            at net.minecraft.server.EntityTNTPrimed.o_(
            at net.minecraft.server.World.entityJoinedWorld(
            at net.minecraft.server.WorldServer.entityJoinedWorld(
            at net.minecraft.server.World.playerJoinedWorld(
            at net.minecraft.server.World.cleanUp(
            at net.minecraft.server.MinecraftServer.h(
    22:05:41 [INFO] BOSEconomy: Paid user wages.
    22:05:41 [SEVERE] Connection reset by peer: socket wri
    te error
    22:05:41 [SEVERE]       at Metho
    22:05:41 [SEVERE]       at Sourc
    22:05:41 [SEVERE]       at Source)
    22:05:41 [SEVERE]       at Sour
    22:05:44 [SEVERE]       at Source)
    22:05:44 [SEVERE]       at Source)
    22:05:44 [SEVERE]       at
    22:05:44 [SEVERE] Connection reset by peer: socket wri
    te error
    22:05:44 [SEVERE]       at Metho
    22:05:44 [SEVERE]       at Sourc
    22:05:44 [SEVERE]       at Source)
    22:05:44 [SEVERE]       at Sour
    22:05:44 [SEVERE]       at Source)
    22:05:44 [SEVERE]       at Source)
    22:05:48 [SEVERE]       at
    23:05:37 [INFO] BOSEconomy: Paid user wages.
    23:08:46 [INFO] Connection reset
    00:05:38 [INFO] BOSEconomy: Paid user wages.
    00:14:45 [INFO] Connection reset
    I can get a plugin list if anyone wants it. Well this has happened once before and wouldn't stop until I deleted the players .dat file, but he has ventured near the blast site again, and again crashed the server... I've been considering loading our map into MC edit and removing the blast site, would that do anything? What should I do? This map contains many months of hard work and I would really not like to lose it, I have to start taking backups...

  2. Offline


    Sounds like the test passed. You sure found the limits of your server. Now I would suggest you and your friend write that down so you won't have to test it again.

    As for how to fix it, you can try Chunkster for a possible automated fix or if someone can get close enough to the location, you can use WorldEdit's //regen. Or for an out of game fix, do what you said with MCEdit.
  3. Offline


    The blast site is taking too much RAM. I suggest removing it or giving the server more RAM.
  4. Offline


    Thanks a lot guys, @Jeyge I'll check out chunkster but if that wont work I'll use MCedit. Its not possible to get anywhere near the blast site.
  5. Offline


    just worldedit a giant chunk of obsidion without going rear the explosion
  6. Offline


    if you have 4GB of ram , assign 4GB of ram to the server . let it run a night with a player near the sigt , so it laggs A LOT! i had this too , got a meassive hole in my map but filled it up with Worldedit
  7. Offline


    just run chunkster on it or if you know the exact chunk thats messed up just delete it from the world folder.
  8. Offline


  9. Offline


    I had this exact problem someone blew a huge hole in the nether excpet i cant even log into my server. what should i do?
  10. Offline


    Start your server and quickly type "stoplag" in console.. Its the command /stoplag

    It will stop all system intensive activities.. like tnt explosion.. Its temporary tho.. so when you restart the server the flag will removed..
  11. Offline


    still cant log in getting a
  12. Offline


    Open your world inside the program MCEdit and remove the tnt. This might tame some learning now to use MCEdit.
  13. Offline


    lol i had an old version of giant tree and i crashed the server 3 times with it. once i made it all doors, second i made it all cactus and third i made it tnt and lit it. The only solution? Open it into MCedit and remove it...or the quick fix, stop the server and delete your player.dat file and you'll re spawn AWAY from the explosion :p just dont get close to it! EDIT: deleting your player.dat WILL DELETE YOUR INVENTORY! SO BE CAREFUL!!!
  14. Offline


    This is because TNT change blocks to "dropped items" and they will consume alot resources.
  15. Offline


    ok here is what you do. delete all player data that was near the explosion, then just dont go near to where the explosion has been
    get worldguard and set tnt to false
    now your server has been restored!
  16. Offline


    :D thanks guys all this information helped me as I had the same problem too. I might have made a tnt skyscraper...
  17. Offline


    you can try nolagg, it queues tnt.
  18. Offline


    do 1 of these and all will be well
  19. Offline


    Thanks for suggesting mcedit. A friend and I set 40,672 tnt on my server :p
Thread Status:
Not open for further replies.

Share This Page