Mango
Mango
TIPThe Iris Project
Created by Mango on 7/7/2023 in #iris-issues
spontaneous crashing due to "out of memory" when having plenty of unused memory
In a custom modpack I've been making, if I set my render distance too high (usually >8), the game spontaneously hangs and crashes. Every time this happens, it's the exact same out-of-memory error, despite me having plenty of VRAM (Minecraft uses ~3GB, my graphics card has 6GB). I've experienced this with every shader I've tried (BSL, Sildur's, Photon, Shrimple, Tea, you name it) and on multiple versions (some with just Sodium and Iris installed) and it still crashes (though the more mods I have, the faster it crashes). The game exponentially gets more unstable the more windows I have open in the background (visible or not) and also with the more RAM I allocate. Below is the part of the log where it errors out:
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=0, source=API, type=ERROR, severity=HIGH, message='Unknown internal debug message. The NVIDIA OpenGL driver has encountered
an out of memory error. This application might
behave inconsistently and fail.
(pid=5948 javaw.exe 64bit)'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1285, source=API, type=ERROR, severity=HIGH, message='GL_OUT_OF_MEMORY error generated. Failed to allocate memory for buffer data.'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1281, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_VALUE error generated. Invalid size and/or offsets.'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1281, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_VALUE error generated. Invalid size and/or offsets.'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1281, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_VALUE error generated. Invalid size and/or offsets.'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1281, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_VALUE error generated. Invalid size and/or offsets.'
[21:42:44] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 5258ms or 105 ticks behind
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=0, source=API, type=ERROR, severity=HIGH, message='Unknown internal debug message. The NVIDIA OpenGL driver has encountered
an out of memory error. This application might
behave inconsistently and fail.
(pid=5948 javaw.exe 64bit)'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1285, source=API, type=ERROR, severity=HIGH, message='GL_OUT_OF_MEMORY error generated. Failed to allocate memory for buffer data.'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1281, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_VALUE error generated. Invalid size and/or offsets.'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1281, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_VALUE error generated. Invalid size and/or offsets.'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1281, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_VALUE error generated. Invalid size and/or offsets.'
[21:42:39] [Thread-54/INFO]: OpenGL debug message: id=1281, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_VALUE error generated. Invalid size and/or offsets.'
[21:42:44] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 5258ms or 105 ticks behind
65 replies