Rapid fire memory leak when leaving the game fullscreen in the background

When you leave the Minecraft with the mod distanthorizons in the background for whatever reason when in fullscreen it results in a rapid fire memory leak where the game will consume hundreds of mb per second of memory, this will agressively max out the memory causing many apps to crash once theres no more ram memory left which include OS Critical stuff like the desktop which caused my whole screen to turn completly black for a full minute when it happened and when returning the desktop was completly gone which has the chance of causing blue screen of deaths in worst case scenarios.

This is an image of what happened to my desktop after the crash happened, luckly it can be fixed by restarting the system

Captura de pantalla 2025-10-04 131127.png

Download of the modlist I was using:

mods.zip

Edited by AdaptableRuben Gaming