Memory leak LuckPerms Sponge 4.2.7
Closed this issue ยท 2 comments
https://paste.mc4ep.ru/orifuribev.rb
SpongeForge: 1.12.2-2655-7.1.0-BETA-3074
Entries in that cache are removed when the corresponding subject is garbage collected.
Means that something else is preventing subject instances from being GCed. You need to check the incoming references to the subjects in the table.
I've made a modification above to only load the instances lazily for each subject, instead of at construction.