Skip to content

Memory leak with "/dm reload" #246

@WarnDa

Description

@WarnDa

I'm running Deluxemenus dev build 208 with 200 loaded guis on universespigot 1.21.4 (a paper fork), I was previously on older DeluxeMenus version (dev build 197)

I was doing some tests on guis so I did a lof of /dm reload and server crashed for out of memory, I never had this before on the older dev build.

Then I did a little test and saw it was related to deluxemenus not releasing all the memory after a "/dm reload". To confirm that I did :

  • spark sampler start --alloc --alloc-live-only
  • dm reload (twice)
  • wait 5mn
  • spark sampler stop

And here is the report :
https://spark.lucko.me/ehZ9Tw5C28

Image

I don't get time to do bunch of tests, but if someone can confirm this, would be great

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions