1.8.7 OutOfMemoryError while wb fill with large java memory #144


  • Defect
Open
  • jusdino created this issue Jul 4, 2017

    Feel free to reach out to me if you need any more info.

     

    The crash report seems to be pretty detailed so I'll let that do most the talking. This happened while running 'wb tester fill 10000 208 true'. This is in a JVM with 4000M set as Xmx and Xms. Running with 3000M seems to be running fine.

    -Jusdino

     

     

    ---- Minecraft Crash Report ----
    // Surprise! Haha. Well, this is awkward.

    Time: 7/4/17 11:38 PM
    Description: Exception ticking world

    java.lang.OutOfMemoryError: GC overhead limit exceeded
        at net.minecraft.server.v1_11_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:267)
        at net.minecraft.server.v1_11_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:128)
        at net.minecraft.server.v1_11_R1.ChunkProviderServer.saveChunk(ChunkProviderServer.java:209)
        at net.minecraft.server.v1_11_R1.ChunkProviderServer.unloadChunk(ChunkProviderServer.java:316)
        at net.minecraft.server.v1_11_R1.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:268)
        at net.minecraft.server.v1_11_R1.WorldServer.doTick(WorldServer.java:236)
        at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:798)
        at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
        at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678)
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576)
        at java.lang.Thread.run(Thread.java:748)


    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------

    -- Head --
    Thread: Server thread
    Stacktrace:
        at net.minecraft.server.v1_11_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:267)
        at net.minecraft.server.v1_11_R1.ChunkRegionLoader.a(ChunkRegionLoader.java:128)
        at net.minecraft.server.v1_11_R1.ChunkProviderServer.saveChunk(ChunkProviderServer.java:209)
        at net.minecraft.server.v1_11_R1.ChunkProviderServer.unloadChunk(ChunkProviderServer.java:316)
        at net.minecraft.server.v1_11_R1.ChunkProviderServer.unloadChunks(ChunkProviderServer.java:268)
        at net.minecraft.server.v1_11_R1.WorldServer.doTick(WorldServer.java:236)

    -- Affected level --
    Details:
        Level name: tester
        All players: 0 total; []
        Chunk stats: ServerChunkCache: 1411 Drop: 1136
        Level seed: -8521038210156987022
        Level generator: ID 00 - default, ver 1. Features enabled: true
        Level generator options:
        Level spawn location: World: (-318,240,590), Chunk: (at 2,15,14 in -20,36; contains blocks -320,0,576 to -305,255,591), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,0,512 to -1,255,1023)
        Level time: 3544686 game time, 3628989 day time
        Level dimension: 0
        Level storage version: 0x04ABD - Anvil
        Level weather: Rain time: 39096 (now: false), thunder time: 101161 (now: false)
        Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
    Stacktrace:
        at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:798)
        at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
        at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678)
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576)
        at java.lang.Thread.run(Thread.java:748)

    -- System Details --
    Details:
        Minecraft Version: 1.11.2
        Operating System: Linux (amd64) version 3.16.0-4-amd64
        Java Version: 1.8.0_131, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 469010536 bytes (447 MB) / 3728736256 bytes (3556 MB) up to 3728736256 bytes (3556 MB)
        JVM Flags: 2 total; -Xmx4000M -Xms4000M
        IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
        CraftBukkit Information:
       Running: CraftBukkit version git-Spigot-3fb9445-6e3cec8 (MC: 1.11.2) (Implementing API version 1.11.2-R0.1-SNAPSHOT) true
       Plugins: { PermissionsEx v1.23.4 ru.tehkode.permissions.bukkit.PermissionsEx [[t3hk0d3, zml]], OpenTerrainGenerator v1.11.2 v5 com.khorn.terraincontrol.bukkit.TXPlugin [Khorn, Olof Cayorion Larsson, RutgerKok, PeeGee85], MultiWorld v5.2.8 multiworld.MultiWorldPlugin [ferrybig], WorldEdit v6.1.7;dd00bb1 com.sk89q.worldedit.bukkit.WorldEditPlugin [], BuildPortals v1.170704 frahm.justin.mcplugins.buildportals.Main [], WorldBorder v1.8.7 com.wimbli.WorldBorder.WorldBorder [Brettflan], Essentials v2.0.1-b434 com.earth2me.essentials.Essentials [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, md_5, Iaccidentally, drtshock, vemacs], WorldGuard v6.2.1;84bc322 com.sk89q.worldguard.bukkit.WorldGuardPlugin [],}
       Warnings: DEFAULT
       Reload Count: 0
       Threads: { TIMED_WAITING process reaper: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460), java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362), java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Abandoned connection cleanup thread: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143), com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)], WAITING Java2D Disposer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164), sun.java2d.Disposer.run(Disposer.java:148), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Timer-0: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)], WAITING NonBlockingInputStreamThread: [java.lang.Object.wait(Native Method), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:278), java.lang.Thread.run(Thread.java:748)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:502), java.lang.ref.Reference.tryHandlePending(Reference.java:191), java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)], RUNNABLE DestroyJavaVM: [], RUNNABLE Signal Dispatcher: [], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143), java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164), java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)], RUNNABLE Server console handler: [java.io.FileInputStream.readBytes(Native Method), java.io.FileInputStream.read(FileInputStream.java:255), java.io.BufferedInputStream.fill(BufferedInputStream.java:246), java.io.BufferedInputStream.read(BufferedInputStream.java:265), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:169), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:137), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:246), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2349), net.minecraft.server.v1_11_R1.DedicatedServer$2.run(DedicatedServer.java:84)], TIMED_WAITING Server Infinisleeper: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_11_R1.DedicatedServer$1.run(DedicatedServer.java:59)], TIMED_WAITING File IO Thread: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_11_R1.FileIOThread.c(SourceFile:44), net.minecraft.server.v1_11_R1.FileIOThread.run(SourceFile:30), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING pool-10-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093), java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING pool-33-thread-2: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078), java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522), java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617), java.lang.Thread.run(Thread.java:748)], WAITING Thread-5: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(LockSupport.java:175), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039), java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442), com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77), org.bukkit.craftbukkit.v1_11_R1.util.TerminalConsoleWriterThread.run(TerminalConsoleWriterThread.java:27), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING pool-27-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078), java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522), java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Timer-1: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)], TIMED_WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Thread.java:1610), org.bukkit.craftbukkit.v1_11_R1.CraftCrashReport.call(CraftCrashReport.java:30), net.minecraft.server.v1_11_R1.CrashReportSystemDetails.a(SourceFile:78), net.minecraft.server.v1_11_R1.CrashReport.h(CrashReport.java:126), net.minecraft.server.v1_11_R1.CrashReport.<init>(CrashReport.java:33), net.minecraft.server.v1_11_R1.CrashReport.a(CrashReport.java:320), net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:803), net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399), net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678), net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Spigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:92)], RUNNABLE Netty Epoll Server IO #0: [io.netty.channel.epoll.Native.epollWait(Native Method), io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194), io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING pool-57-thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078), java.util.concurrent.LinkedBlockingDeque.pollFirst(LinkedBlockingDeque.java:522), java.util.concurrent.LinkedBlockingDeque.poll(LinkedBlockingDeque.java:684), java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066), java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127), java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617), java.lang.Thread.run(Thread.java:748)], TIMED_WAITING Spigot Metrics Thread: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Timer.java:552), java.util.TimerThread.run(Timer.java:505)],}
       Recent tasks from 755-785{OpenTerrainGenerator:com.khorn.terraincontrol.bukkit.metrics.Metrics$1@129,}
        Profiler Position: N/A (disabled)
        Player Count: 0 / 10; []
        Is Modded: Definitely; Server brand changed to 'Spigot'
        Type: Dedicated Server (map_server.txt)

  • jusdino added a tag Defect Jul 4, 2017

To post a comment, please login or register a new account.