Skip to content

Regionerator Memory leak #329

@DarkChromaMC

Description

@DarkChromaMC

Regionerator plugin causes steady heap growth traced to instances held in a BatchExpiringLoadingCache. Heap dump and screenshots are attached below.

Steps to reproduce:

  1. Start server with Regionerator enabled on a busy map, with default cache settings.
  2. Let server run under normal player activity for a day.
  3. Observe heap usage rising over time, GC not freeing cached entries.

Observed behavior: Heap usage increases continuously, many Regionerator-related objects remain live in the BatchExpiringLoadingCache according to heap dump. Plugin memory use does not drop after region unloads or player logouts.

Expected behavior: Cache entries expire and are released in a timely manner, overall heap stabilizes under steady load.

Heap dump and screenshots are attached below.
Image
Image

MEMORY HEAP DUMP:
https://drive.google.com/file/d/1Pe_h-ZYYt7HSxNGETjMxo6ywqccSSQYN/view?usp=drivesdk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions