Put A Plug In it! (PAPI) initially solved a Memory Leak I found with Sophisitacted Core while playing the "NightfallCraft - The Casket of Reveries" Modpack by P1nero
Sophisticated Core natively fixed the Memory Leak in their 1.20.1+ Forge & NeoForge versions, but the pre-1.20.1 and Fabric versions of the mod still have the glitch, which PAPI can be used to fix.
PAPI now also aims to find and solve as many Memory Leaks as possible, and integrate features and compatability for and from other mods, to make an all-in-one Memory Leak Fix and Memory Optimization mod, and to increase version and loader support for features of other Memory Leak Fix and Memory Optimization Mods.

Icon and Name by lyftos, inspired by Plug & Play by Morio von Rickenbach, and Michael Frei (Playables)
Core Features
- Sophisticated Core ItemStackKey leak mitigation
- ModelManager cache cleanup when the client leaves a world
/papi leak reportdiagnostics- heap, GC, watched-object sizes and client model-cache counts written to a file
- an opt-in
/papi leak dumpHeapfor the full heap dump
- Prevent known crashes between RaphiMC's ImmediatelyFast and FX (FX_PR0CESS)'s Memory Leak Fix (MemoryLeakFix)
- Prevent Screen-Freeze Glitch caused by RaphiMC's ImmediatelyFast on Intel IGP's and GPU's
Features Derrived or Adapted From Other Mods
- Biome Temperature cache sharing
- LivingEntity brain-memory clear on unload
- TagKey weak intern pool
- Drowned navigation cleanup
- Crosshair target / hit result reset
- Huge screenshot buffer free-on-failure
- Texture read-buffer free-on-failure
pietro-lopes' AllTheLeaks
- Vanilla
EntityTickListpassive-map clear - per-mod client leak fixes for:
- EMI — clear recipe history on respawn
- JEI — clear RecipeTransferManager and the Grindstone menu
- Jade — clear ObjectDataCenter and the hideModName cache
- Iceberg — clear EntityCollector and CustomItemRenderer caches
- Sophisticated Core — invalidate StorageWrapperRepository on world unload
- Supplementaries — run its cache clearers on server stop
- Entity Texture Features — release player-texture state on respawn
- Entity Model Features / ETF — drop renderer state after each render
I intend to add more Memory Leak fixes in the future so if you know of any mods or modpacks that you suspect of having Memory Leak issues, let me know in the comments!
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 |
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- Minecraft: drop a living entity's expired last-damage source
- JEI: discard the static ingredient codecs
- SophisticatedCore: re-register the CraftingTweaks crafting UI part on world change when CraftingTweaks is installed too
- JEI: also drop Grindstone menu on world unload (not just respawn)
- SophisticatedCore: invalidate
StorageWrapperRepositoryon world unload - Crosshair target / hit result reset now clears only while the client is out of a level (fix Create superglue incompatibility)
- JEI: also drop Grindstone menu on world unload (not just respawn)
- SophisticatedCore: invalidate
StorageWrapperRepositoryon world unload - Crosshair target / hit result reset now clears only while the client is out of a level (fix Create superglue incompatibility)
- JEI: also drop Grindstone menu on world unload (not just respawn)
- SophisticatedCore: invalidate
StorageWrapperRepositoryon world unload - Crosshair target / hit result reset now clears only while the client is out of a level (fix Create superglue incompatibility)
- JEI: also drop Grindstone menu on world unload (not just respawn)
- SophisticatedCore: invalidate
StorageWrapperRepositoryon world unload - Crosshair target / hit result reset now clears only while the client is out of a level (fix Create superglue incompatibility)
- JEI: also drop Grindstone menu on world unload (not just respawn)
- SophisticatedCore: invalidate
StorageWrapperRepositoryon world unload - Crosshair target / hit result reset now clears only while the client is out of a level (fix Create superglue incompatibility)