Mem Leak Fix GPU
by alchemyyy
Mem Leak Fix GPU is a NeoForge client optimization that frees GPU memory held by render targets the game no longer uses.
What it does
Mem Leak Fix GPU looks for stale render targets and releases their framebuffers, so the video memory they occupy becomes available again. Texture framebuffer ids that belong to finalized render targets are queued first, and the actual deletion happens later on the client thread across subsequent ticks. Each cleanup pass is limited in how much work it does at once, which keeps individual frames from stalling.
The fix targets a GPU memory leak in which render targets were never released after use. Because the mod only runs on the client, a dedicated server needs nothing installed, and singleplayer or multiplayer clients install it alone. Its source code and issue tracker are public, and the mod is released under the MIT License, so it is open source.
Key features
Stale render target cleanup
Render targets that are no longer in use are found and released, returning their VRAM to the game.
Deferred framebuffer deletion
Texture framebuffer ids are queued and deleted on the client thread over later ticks rather than all at once.
Capped cleanup passes
Each cleanup pass handles a limited amount of work, so one pass does not cause a large frame hitch.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Long play sessions
Players who keep a client open for hours can use the mod to stop render targets from accumulating in video memory.
Who it’s for: Players on NeoForge 1.21.1 whose video memory fills up during long sessions. Only the client needs the mod, so server owners do not have to add it.
Questions
Does Mem Leak Fix GPU need to be installed on the server?
Which loader and game version does Mem Leak Fix GPU support?
Where can the source code and issues be found?
In the catalog
Mem Leak Fix GPU is one of 3,545 Optimization mods on ModsFinder, and one of 1,250 Optimization mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
More from alchemyyy
Similar mods
What the author says
Fixes GPU memory leaking by cleaning up stale render targets.
Official listing
- Modrinth page
- modrinth.com/mod/memleakfixgpu
- Owner
- alchemyyy
- Published
- 2026-06-03
- Updated on Modrinth
- 2026-06-03
- Facts verified
- 2026-10-15
