Persistent VRAM usage on loading Distant Horizons LODs.
VRAM usage on the GPU is persistent, even when leaving and rejoining the world. The initial "LOD Quality" preset that was loaded is "Extreme". Changing it to a lower preset does not change the VRAM usage numbers, however, when change back into "Extreme", the begins to climb rapidly as further LODs start loading in. I have a total of 512 chunks worth of LOD data in this world. Image attached are screenshots of the VRAM usage as well as F3 debug menu in-game with the following order:
1. First VRAM usage upon loading into the world for the first time.
2. In-game F3 screenshot of the FPS graphs and other relevant data.
Steps to reproduce:
1. Prior to joining a world, set Distance Generation to False LOD Quality preset to "Extreme".
2. Join a world and wait for the LODs to fully load. Once fully load, check VRAM usage in Task Manager for initial usage data.
3. Change "LOD Quality" preset to a lower one, wait for it to load (should be quick).
4. Once finished, leave the world, change the "LOD Quality" preset back to "Extreme", then rejoin the world.
5. At this point, wait for the LODs to finish loading in, after which you can start comparing the VRAM usage in Task Manager and notice it climbs up and not clearing.
![No description](https://cdn.answeroverflow.com/1260216086171881593/image.png)
![No description](https://cdn.answeroverflow.com/1260216086859612270/2024-07-09_20.09.37.png)
Solution:Jump to solution
I just found and fixed a minor memory leak tied to the light map.
So that might help a bit going forward....
40 Replies
Don’t forget to ping James https://discord.com/channels/881614130614767666/881614131877269586/1260208345529188423
Relevant logs.
@James Seibel (GMT-6) here it is.
Hmm, can people see if they get pinged in forum posts?
:harold:
they can
i can at least
It may appear there are additional mods in this log, however, I have observe this behavior with only Distant Horizons, Sodium, Indium and Fabric API installed while testing the optimal performance settings for Distant Horizons.
I can retest with the other mods disabled if you prefer.
i cant replicate it
https://www.youtube.com/watch?v=_C785gJF3Io
I ran my game way longer than that
alright, ill afk in it
done lol
![No description](https://cdn.answeroverflow.com/1260240445087416330/image.png)
im afk for 15 minutes and still rock steady on 3,2 GB
try pushing the render distance maybe
its faster for me when i have distant generation
frick i need to redo the test. Minecraft crashed because of insufficient memory
well nevermind then
:harold:
i watched it reset
![No description](https://cdn.answeroverflow.com/1260259512120643675/image.png)
what did you do to reset it?