SHsuperCM / CITResewn

Fabric implementation of mcpatcher's cit
MIT License
165 stars 92 forks source link

CIT using an absurd amount of RAM and causing performance issues #368

Closed Tempest-5ky closed 8 months ago

Tempest-5ky commented 8 months ago

Pretty much what it says on the tin- CIT v1.1.3 in fabric 1.20.1 uses up to 4GB of memory at times, which adds up quickly on an already large modpack.

heapdump: image image heap summary via Spark: https://spark.lucko.me/ByiMEADnbo

As you can see, the mod uses far more memory than it should, an issue that definitely needs addressing. Just removing this mod cut down the modpack's memory usage by 40-50%.

SHsuperCM commented 8 months ago

It's sadly a fight of performance vs ram usage that stems from the cache. Especially when there are a lot of items present.

Turning caching down to realtime in the config should help with ram usage.

If you have any ideas to address this, feel free to PR.