Memory Leak #1
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: EpicKnarvik97/BlockHunt#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A memory leak has been detected related to the storage of signs. For some unknown reason, the ConfigManager used to store sign ends up with a YamlConfiguration which constructs millions of objects. This might be related to the fact that signs are loaded from file once every second.
In addition to fixing the leak if an obvious problematic line is found, changes must be made to only save and load files when necessary to reduce overhead.
While the problem is definitely in fileC's YamlConfiguration's YamlConstructor's constructed objects, I'm not entirely sure why that ends up with over 8000000 objects after 24 hours.