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.
image.png
2024-07-09_20.09.37.png
Solution
I just found and fixed a minor memory leak tied to the light map.
So that might help a bit going forward.
Was this page helpful?