Howdy! I’ve been running a Create + VS server with friends for a while on 1.20.1 on Forge through server provider Exaroton. We’ve noticed that there are large memory spikes that double server ram at random, which means we’ve had to pay extra to pad out the server with unused ram to tank the lag spikes. Currently, the server-side lag spikes still exist and slow the server to a halt for several seconds, but usually no longer crash the server from out of memory.
We’ve been getting a bit annoyed by the memory spikes and have done some profiling with Spark. If I did it correctly, I think I’ve determined that the lag spikes are due to the process “org.valkyrienskies.mod.common.util.DragInfoReporter.tick()”. (Interestingly, the lag spikes seemed to be present regardless of how many airships are on the server, and existed before we made any airships.)
For specifics:
We’ve narrowed down the issue to VS.
the RAM usage spikes from a baseline of around 6-8GB to anywhere between 10-16GB every ~15-20 minutes.
When more players are online, more RAM is needed to run the server, so lag spikes are tolerated less when the server is under heavier loads.
We are using Valkyrien Skies 1.20.1-forge-2.4.10. Updating to bleeding edge versions recommended in other forum posts here did not seem to solve* this issue.
It is quite possibly an incompatibility with some other mod; however, I’ve tried a binary search multiple times now and I haven’t figured it out. I think they’re more likely to be inherent to VS, and the scale of the lag spikes is increased with more mods (I have no idea if this is how it should work, I am not good at the technical side of things here).
The lag spikes exist on singleplayer as well.
Anyone have any clues as to what this might be, how this might be fixed, or if there are mod incompatibilities that cause similar symptoms?