Uploaded image for project: 'Bedrock Dedicated Server'
  1. Bedrock Dedicated Server
  2. BDS-16839

Server Memory Usage Explodes when Specific User Joins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.30
    • None
    • Unconfirmed

      Summary

      After updating my Bedrock Dedicated Server (BDS) to version 1.18.30, the server's memory usage increases without bound, eventually consuming all physical memory, then crashes.

      Details

      When I attempt to join the server, the server crashes, disconnecting everyone.

      The server idles around ~1 GB of memory usage, but when I join, its memory usage explodes to over 60GB. CPU and disk I/O also increase, but not unreasonably so.  Since the machine has 64GB of physical memory, the server crashes after consuming it all.

      The server crashes after logging that I have connected. This is always the last line before crashing:

      [2022-04-21 18:15:14:567 INFO] Player connected: <MY GAMER TAG> 

      I have attached a screenshot of the resource usage.

      Other Notes

      • Everything is vanilla. No mods, nothing odd about the world. Just vanilla survival with no more than 4 users logged in.
      • I can start the server and behavior is normal with no users logged in.
      • Immediately after updating to 1.18.30, I was able to log in and play for ~2 hours with no issues.
      • So far, users other than myself can join, and the server behaves normally. I don't know if this will change as it did for me.
      • Restarting the server has no effect. It comes back up as normal, but as soon as I attempt to join, it crashes.
      • The BDS generates a core dump that I am happy to share - but it's ~68 GB in size. I'm sure a dev could use it, along with debug symbols and GDB, to figure out what went wrong.
        • EDIT: I was able to compress it down to ~1.5 GB, but that's still way larger than the maximum size allowed by Jira.

            Unassigned Unassigned
            DoctorKest DoctorKest
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: