[Bug]:
dahbawz opened this issue ยท 3 comments
/mv version -p
output
https://paste.gg/p/anonymous/eba01f44d0dc4306ac4dd2095b1927da
Server logs
https://paste.gg/p/anonymous/eedfb181a56a4f7cbeb2129a3b890002
Server Version
Paper version git-Paper-81 (MC: 1.19) (Implementing API version 1.19-R0.1-SNAPSHOT) (Git: 86f87ba)
You are running the latest version
Bug Description
Hello,
I hope you guys can help me.
My skyblock server is running out of memory all of the sudden.
When doing a summary heap, a plugin doing net.minecraft.core.BlockPosition takes up the memory. The file size keeps increasing everytime the server restarts,
By disabling every plugin one by one, the culprit is finally found, it is multiverse core. After disabling this, The file size dissapears and the leak/ memory is reduced by 8GB.
Can someone help/explain to me what is going on? Why does multiverse keeps stacking net.minecraft.core.BlockPosition
for 270k times?
P.s. 0 errors in console
Steps to reproduce
Use fabled skyblock and multiverse-core.
Watch file size grow after each restart
Agreements
- I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
- I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.
Somewhat wanting to blame FabledSkyblock here, despite the OP concluding MV-Core is to blame. I don't really think we make any use of BlockPosition
, as we only really need Bukkit-compatible classes only.
Specifically for the fact that FabledSkyblock has a convertBlockToBlockData
utility routine that you can see in-code here (line 486), which actively makes use of BlockPosition
through some janky-looking reflection calls.
Seems like this should only happen when you are "saving a structure" using the structure save command. I don't know what that is from the FabledSkyblock's perspective (never used the plugin), but that's ultimately what ends up making this call.
I suspect this isn't an MV issue.
Oke, ty for your time. Please leave request open as I contact fabled skyblock to refer to this issue