Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-130703

[18w22c] Exception in server tick loop java.lang.OutOfMemoryError: Java heap space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w22c
    • None
    • OS: Windows 8.1 (amd64) version 6.3
       Java: 1.8.0_171, Oracle Corporation
       VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    • Unconfirmed

      This is a hard one to diagnose. Running without any Xmx flags, Minecraft will use up all available memory and crash, failing to write a crash report.

      Setting Xmx to 6GB , The server will again eventually crash. Finally getting a crash report. Seems a little short.

       

      ---- Minecraft Crash Report ----
       // You should try our sister game, Minceraft!
      Time: 6/3/18 10:10 AM
       Description: Exception in server tick loop
      java.lang.OutOfMemoryError: Java heap space
      A detailed walkthrough of the error, its code path and all known details is as follows:
       ---------------------------------------------------------------------------------------
      – System Details –
       Details:
       Minecraft Version: 18w22c
       Operating System: Windows 8.1 (amd64) version 6.3
       Java Version: 1.8.0_171, Oracle Corporation
       Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
       Memory: 117480000 bytes (112 MB) / 2985295872 bytes (2847 MB) up to 2985295872 bytes (2847 MB)
       JVM Flags: 0 total; 
       Profiler Position: N/A (disabled)
       Player Count: 5 / 100; [so['YT_Veritas0923'/3097547, l='world', x=9975.28, y=49.00, z=15.34], so['AhriEU'/3380965, l='world', x=9908.09, y=62.07, z=1768.95], so['SmaugTheStoner'/3600186, l='world', x=26989.24, y=68.00, z=24952.35], so['Sunshinerose6'/3570624, l='world', x=10005.30, y=60.00, z=21.30], so['CoolReign'/3725904, l='world', x=31023.41, y=64.00, z=-272.25]]
       Data Packs: vanilla, file/veritas0923 (incompatible), file/bac_advancements
       Is Modded: Unknown (can't tell)
       Type: Dedicated Server (map_server.txt)
      

       
      This is what it looks like in console when it doesn't save a crash report.

      [17:25:09] [User Authenticator #43/ERROR]: Caught previously unhandled exception :
      [17:25:36] [Server thread/ERROR]: Encountered an unexpected exception
      java.lang.OutOfMemoryError: Java heap space
       at bqq.b(SourceFile:154) ~[minecraft_server.18w22c.jar:?]
       at bqv.a(SourceFile:621) ~[minecraft_server.18w22c.jar:?]
       at bqv.a(SourceFile:385) ~[minecraft_server.18w22c.jar:?]
       at bqv.a(SourceFile:216) ~[minecraft_server.18w22c.jar:?]
       at sl.b(SourceFile:217) ~[minecraft_server.18w22c.jar:?]
       at sl.a(SourceFile:237) ~[minecraft_server.18w22c.jar:?]
       at sm.a(SourceFile:737) ~[minecraft_server.18w22c.jar:?]
       at net.minecraft.server.MinecraftServer.a(SourceFile:445) ~[minecraft_server.18w22c.jar:?]
       at net.minecraft.server.MinecraftServer.v(SourceFile:644) ~[minecraft_server.18w22c.jar:?]
       at net.minecraft.server.MinecraftServer.run(SourceFile:531) [minecraft_server.18w22c.jar:?]
       at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
      [17:26:01] [User Authenticator #43/ERROR]: java.lang.OutOfMemoryError: Java heap space
      [17:26:03] [File IO Thread/ERROR]: Caught previously unhandled exception :
      [17:26:04] [File IO Thread/ERROR]: File IO Thread
      java.lang.OutOfMemoryError: Java heap space
       at java.io.BufferedOutputStream.<init>(Unknown Source) ~[?:1.8.0_171]
       at java.io.BufferedOutputStream.<init>(Unknown Source) ~[?:1.8.0_171]
       at bqz.b(SourceFile:225) ~[minecraft_server.18w22c.jar:?]
       at bra.e(SourceFile:119) ~[minecraft_server.18w22c.jar:?]
       at bqv.b(SourceFile:268) ~[minecraft_server.18w22c.jar:?]
       at bqv.a(SourceFile:251) ~[minecraft_server.18w22c.jar:?]
       at cgt.c(SourceFile:42) ~[minecraft_server.18w22c.jar:?]
       at cgt.run(SourceFile:35) ~[minecraft_server.18w22c.jar:?]
       at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
      [17:30:34] [Server thread/ERROR]: Could not save crash report to .\crash-reports\crash-2018-06-02_17.27.24-server.txt
      java.lang.OutOfMemoryError: Java heap space
       at java.util.Arrays.copyOfRange(Unknown Source) ~[?:1.8.0_171]
       at java.lang.String.<init>(Unknown Source) ~[?:1.8.0_171]
       at java.lang.StringBuilder.toString(Unknown Source) ~[?:1.8.0_171]
       at b.e(SourceFile:205) ~[minecraft_server.18w22c.jar:?]
       at b.a(SourceFile:223) [minecraft_server.18w22c.jar:?]
       at net.minecraft.server.MinecraftServer.run(SourceFile:554) [minecraft_server.18w22c.jar:?]
       at java.lang.Thread.run(Unknown Source) [?:1.8.0_171]
      [17:31:28] [Server thread/ERROR]: We were unable to save this crash report to disk.
      [17:31:37] [Server thread/INFO]: Stopping server

            Unassigned Unassigned
            VTSTech Nigel Todman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: