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

RegionFiles are not closed when they are evicted from cache

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1
    • None
    • Irrelevant, affects all server environments
    • Unconfirmed
    • (Unassigned)

      In RegionFileCache there is a missing close() call to a region file that is evicted from the cache.

      See here: (note these are spigot mappings, without changes from spigot/craftbukkit)

      https://gist.github.com/Spottedleaf/dec40400015df81ad2081df35905e3a8

      The fix is to simply call the close() method on the evicted RegionFile.

            boq [Mojang] Bartosz Bok
            Spottedleaf Spottedleaf
            Votes:
            9 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: