Pet Collars

Pet Collars

5.8k Downloads

Massive Memory leak

Wugand opened this issue ยท 1 comments

commented

WeakHash map in CollarCapProvider holds every loaded entity as key and an Object containing the same entity as value. This produces an loop reference preventing the GC from removing the entity.
So every loaded entity stays in memory forever!

commented

Fixed in 1.21