You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was messing with shader settings to look into a shader issue. I noticed that after messing with the settings for a while memory usage will constantly climb higher until it hits the allocation limit and constatnly triggers garbage collector resulting in heavy lag and the game being unplayable. https://github.com/user-attachments/assets/2118e831-1296-4ce5-b80b-8e011b786fd0
Off the top of my head I think it might be related to Iris caching past shader settings so they compile faster if you select them again. Are those stored in the RAM? I feel like only the second most recent settings should be kept in RAM and the rest temporarily saved on the hard drive.
Screenshots
Freshly loaded into the world:
After messing with settings for a while:
Eventually you'll be simply unable to load the shader at all due to java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space
What happened?
I was messing with shader settings to look into a shader issue. I noticed that after messing with the settings for a while memory usage will constantly climb higher until it hits the allocation limit and constatnly triggers garbage collector resulting in heavy lag and the game being unplayable.
https://github.com/user-attachments/assets/2118e831-1296-4ce5-b80b-8e011b786fd0
Off the top of my head I think it might be related to Iris caching past shader settings so they compile faster if you select them again. Are those stored in the RAM? I feel like only the second most recent settings should be kept in RAM and the rest temporarily saved on the hard drive.
Screenshots
Freshly loaded into the world:
After messing with settings for a while:
Log output
latest.log
crash-2024-12-08_16.41.18-client.txt
Minecraft Version
1.21.4
Iris Version
iris-fabric-1.8.3+mc1.21.4.jar
Operating System
Windows 11
What is your GPU?
GTX 1060 6GB
Additional context
No response
The text was updated successfully, but these errors were encountered: