VolmitSoftware / Iris

World Generation through a new Iris
https://volmit.com
GNU General Public License v3.0
443 stars 165 forks source link

Iris's loadedRegions format Memory Usage Excessivity #1054

Open R00tB33rMan opened 1 year ago

R00tB33rMan commented 1 year ago

Problem

We presently had roughly ~280 players online at the time of this heap. Although this is a lot of players, our heap still wound up retaining up to 37 GB in size, which is brutally high.

Here's an example of the issue: image

Hopefully you can all manage to resolve this, as it's quite problematic!

We're using the latest release (3.0.0) iteration of Iris.

Solution

Rewrite loadedRegions logic and make it less aggressive and consumptive. We have over ~60 GB allocated to this instance, which should be more than enough.

Minecraft Version

1.21

Iris Version

3.0.0 for 1.19.2 - 1.20.2

Log

No Direct Link. Provided Above.

RePixelatedMC commented 1 year ago

Yea ik im already working days on fixing the current source code made it better but it solved 1 problem of the 3 the system is having so its a improvement

RePixelatedMC commented 1 year ago

Also this issue has been in iris since it got created lmao my guess is that tectonic plates didnt carry as much data as they do now so its only getting problematic since a year or 2

R00tB33rMan commented 1 year ago

Understood. Hopefully we can get this resolved soon, as my instance/server would likely perform remarkably better, without this overhead. If any assistance is needed, do not hesitate to ask.

RePixelatedMC commented 1 year ago

Pixeldev branch has improvements you could try and use that

R00tB33rMan commented 1 year ago

Sorry for the late response! Running my fork with some other changes from other PR's, in addition to the latest changes from that branch. I'll let you know how it goes in the coming days!

R00tB33rMan commented 11 months ago

Going to be honest: The new branches upon my testing and constant upstreams only made the situation worse and continually crashed my servers (or froze them) for long durations.

RePixelatedMC commented 11 months ago

Known issue it are alpha releases i found a major flaw and am reworking the entire system for a month already or more

RePixelatedMC commented 11 months ago

i havent prd it yet its all on my local branch the current branch is completely broken