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

Minecraft server crashes due to java.lang.OutOfMemoryError: Java heap space, when it has 4gb of ram

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.16.1
    • None
    • Unconfirmed
    • (Unassigned)

      I tried to start my server this morning, and I got the error code I put in the attachment. It reads java.lang.OutOfMemoryError: Java heap space, which doesn't make sense, since I allocated 4Gb of RAM to it, and even with the server running I had 2Gb of ram free. Is there a way to fix this, or is the world corrupted?

            Unassigned Unassigned
            odile Thomas Dumbill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: