Back to mods
Memory Leak Fix modern port project artwork

CurseForge · Minecraft mod

Memory Leak Fix modern port

Fixes multiple memory leaks in Minecraft, both client-side and server-side

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Memory Leak Fix modern port release should I use?

Updated 13 days ago
Latest stable file Memory Leak Fix — Itamio Modern Port 1.0.0 (Forge 1.20.1)
Game version 1.20.1
Loader Forge

Memory Leak Fix modern port Memory Leak Fix — Itamio Modern Port 1.0.0 (Forge 1.20.1) targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Memory Leak Fix modern port required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Memory Leak Fix modern port Memory Leak Fix — Itamio Modern Port 1.0.0 (Forge 1.20.1) need?

Memory Leak Fix — Itamio Modern Port 1.0.0 (Forge 1.20.1). Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Memory Leak Fix modern port without breaking your instance.

Built for Memory Leak Fix modern port Memory Leak Fix — Itamio Modern Port 1.0.0 (Forge 1.20.1). Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Memory Leak Fix — Itamio Modern Port 1.0.0 (Forge 1.20.1). It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Memory Leak Fix — Itamio Modern Port 1.0.0 (Forge 1.20.1). It opens that exact file at the source.

About this project

What does Memory Leak Fix modern port add?

Memory Leak Fix — Forge Port for Minecraft 1.20.1

Fixes multiple memory leaks in Minecraft, both client-side and server-side.

🎬 Support this mod — cheap AI video! ZSky AI — unlimited AI text-to-video & image generation. Free forever tier, or Pro $19/mo (~$15/mo billed yearly): no queue, 1080p, watermark-free, commercial use.

The original Memory Leak Fix (38.8M downloads, FX) bundled a set of small fixes for known vanilla memory leaks. This is an unofficial Forge port for Minecraft 1.20.1, built and verified in CI via GitHub Actions, including a headless runtime test.

What it does (ported fixes)

  • Biome temperature cache — shares one static ThreadLocal temperature cache instead of one per Biome instance (the original's non-static ThreadLocal created a cache per biome).
  • Texture resource buffer (MC-226729) — frees the off-heap ByteBuffer allocated by TextureUtil.readResource when reading a texture fails part-way.
  • Crosshair target clear — clears Minecraft.crosshairPickEntity and hitResult at the start of each client tick so stale targets do not pin entities between frames.

Per-fix status (original → 1.20.1 Forge)

Original fix 1.20.1 status
Biome temperature ThreadLocal Ported (BiomeThreadLocalMixin)
TagKey interner leak (MC-248621) Not ported — TagKey was rewritten in 1.20.1 (its static interner shape changed), so the original's <clinit> redirector has no target; the fix is not applicable to 1.20.1
TextureUtil free buffer (MC-226729) Ported (TextureUtilFreeBufferMixin, require = 0 so texture-internals drift can never break loading)
Target entity clear Ported; injects at head of runTick(boolean) since updateScreenAndTick takes a Screen in 1.20.1 (MinecraftTargetClearMixin)
Entity memories leak (MC-260605) Not ported — vanilla fixed it in 1.19.4 (per the original's own notes); the Brain/Entity/LivingEntity mixins would be no-ops
Drowned navigation leak (MC-202246) Not ported — original targeted 1.16.3–1.16.5 only; its Drowned navigation fields no longer exist in 1.20.1
Huge screenshot leak Not ported — it needs MixinExtras local capture, which is not bundled in this Forge port; the method target also changed shape in 1.20.1

Port changes vs. the original

  • Forge @Mod entrypoint, mods.toml, and a plain-Mixin setup (MixinExtras was not bundled; the ported mixins were rewritten with plain @Redirect/@Inject and compile against official Mojang mappings for 1.20.1).
  • Mixin config: memoryleakfix.mixins.json (minVersion 0.8, JAVA_17, refmap), pack.mcmeta pack_format 15.

Installation

  1. Install Forge 47.4.20 for Minecraft 1.20.1
  2. Drop memoryleakfix-1.20.1-forge-*.jar into your mods folder

Original mod & credit

This is an unofficial Forge port by Itamio of Memory Leak Fix by FX (PR0CESS).

All credit for the original concept, design, and logic goes to FX. See NOTICE.

Project description from CurseForge.

Pick your setup

Memory Leak Fix modern port by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Memory Leak Fix modern port versions and loaders

2 of 2 releases match

Looking for an older file? The official CurseForge project page is in Resources.