Hello!
I posted over at the FTB forums and someone suggested I inquire over here-- let me if you need more info!
Server Info
RAM: 5gb
FTB Revelation 2.6.0
Minecraft 1.12.2
Forge 2768
SpongeForge 1.12.2-2768-7.1.4
Other plugins:
MagiBridge
MBDiscordLink
RandomPatches
GriefPrevention
LuckPerms
Nucleus
I’m currently running into what I believe to be a memory leak with my FTB Revelation server. About every three hours, my server host automatically restarts my server due to it exceeding 5.5gb of ram usage.
Here’s a graph of the memory and CPU usage:
(on the 5th of February, I upgraded the server from 4gb to 5gb, hence the increase)
I’ve been trying to diagnose as best as I can, but Minecraft servers are not my area of expertise by any means. I’ve also been trying to gather info from timings and heap dumps, but timing reports seem to indicate no issues (to the untrained eye, maybe) and I can’t quite figure out how to interpret heap dumps-- help in this area would be greatly appreciated.
I’ve removed a few plugins (Prism, spark) entirely and temporarily disabled MagiBridge and MBDiscordLink to attempt to resolve the issue but haven’t had luck. I’ve run a new world and it seemed to perform noticeably better, but I’ve yet to test a new world over an extended period of time to be totally sure.
These issues have been happening prior to any major “advancements” in the modpack, so to speak (use of higher end technology mods, etc). When there are no players on the server, the ram climb slows down but is still present. This can be seen in the overnight areas of this graph:
In addition to this, there’s definitely a slower RAM climb when certain people (and therefore, presumably their chunks?) are online.
I would include a log but I’m not sure which I’d attach (or if it would even help) as it’s not exactly a crash, but a forced restart. I’m open to any and all help and suggestions. I just don’t want to have to start a new world without asking people wiser than me if they have any potential solutions
Worth mentioning: I’ve tried to use Eclipse Memory Analyzer with heap dumps generated form Sponge, but I don’t think I’m doing it right hahaha. If anyone has a guide (or would be willing to look at a heap dump) let me know!
I’ve also tried implementing this fix but did not seem to have much luck:
Thank you for your time!