Canvas Renderer

Canvas Renderer

202k Downloads

Resource Pack Selection Screen Causes Massive VRAM Leak WITH Respack Opts mod

heymanMC opened this issue ยท 5 comments

commented

System Informatinon

  • Minecraft Version: 1.18.1
  • Canvas Version: 1.0.2256
  • Operating System: Windows 10
  • Graphics Card: NVIDIA RTX 3080

Other mods and versions installed

How you triggered the behavior

  1. Install Canvas, Fabric API, and Respack Opts
  2. Open "Resource Packs" selection screen
    What you expected would happen
    I would expect this screen not to leak all my memory.

What actually happened

MC eats all my GPU's VRAM in seconds.

Logs and screenshots

Note:
This does not happen with each mod separately. It only happens when both are installed together.

commented

Respackopts saves configs whenever resources are reloaded. The pack screen registers that files in the resource pack directory (the config files for packs) have changed, causing a resource reload. This led to an infinite loop of reloading resources, exposing some memory leak elsewhere. The infinite reloading has been fixed in the latest commit.

commented

Sounds like this isn't actually fixed - just the memory leak is much slower now...

commented

Yes, the only thing I fixed was the resource reloading loop

commented

@JFronny can you release to curseforge?