HyperCubeMC / Iris

(WIP) A new shaders mod for Minecraft intended to be compatible with existing ShadersMod/Optifine shaders
GNU Lesser General Public License v3.0
227 stars 108 forks source link

Severe Memory Leak #13

Closed R3alCl0ud closed 3 years ago

R3alCl0ud commented 3 years ago

What happened?

When running iris-mc1.17-1.1.0-starline+build.410, and sodium-fabric-mc1.17.1-0.3.0+IRIS1-build.105 minecraft leaks an insane amount of memory. I have minecraft set to use a maximum of 6gb but when running iris+sodium starline minecraft will always end up using well over 6gb of memory.

What is weird is that the game only reports that it is using 1.5gb of memory, and that it has not asked for all 6gb of it's available memory pool.

The speed at which memory is being used is greatly increased when using a shader pack such as sildur's vibrant shaders. Where the game can consume well over 10gb of memory in about 30 minutes.

Screenshots

No response

Relevant log output

No response

Iris and Minecraft Version

iris-mc1.17-1.1.0-starline+build.410, and sodium-fabric-mc1.17.1-0.3.0+IRIS1-build.105 for Minecraft 1.1.7.1

Shaderpack Used

Sildur's vibrant shaders 1.29 hight/extreme volumetric lighting

Are you running Sodium along with Iris?

Yes

Operating System

ArchLinux

What is your GPU?

Nvidia GeForce RTX 2060Max-q

Java Version

Java 16

Additional context

I'm on arch linux running the latest nvidia 470.57.02 driver, using open jdk 16 as my java version. I am using an x11 session of kde plasma.

I also have the hypercube fork of connect block textures, and the latest versions of the logical-zoom and voxelmap mods installed.

R3alCl0ud commented 3 years ago

I also have indium-1.0.0+mc1.17.1 installed aswell.

Justsnoopy30 commented 3 years ago

This is an iris leak which was just fixed a few minutes ago, update to fix this.

R3alCl0ud commented 3 years ago

Memory leak is still an issue with the latest build of Iris.

R3alCl0ud commented 3 years ago

As of build 423 of iris 1.17-starline the memory leak is still present, although it is not as severe as before, taking much longer to eat up all of my system memory. But the symptoms are the same as before, just not as fast.