Back to mods
LazyRAM project artwork

CurseForge · Minecraft mod

LazyRAM

Automatic client-side RAM optimization through deduplication, compact memory structures, adaptive cache cleanup and Deep AFK mode.

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

Quick answer

Which LazyRAM release should I use?

Updated today
Latest stable file LazyRAM-Forge-1.21.1-1.0.1.jar
Game version 1.21.1
Loader Quilt

LazyRAM-Forge-1.21.1-1.0.1.jar targets 1.21.1 with Quilt. 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 LazyRAM 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 Quilt
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 LazyRAM-Forge-1.21.1-1.0.1.jar need?

LazyRAM-Forge-1.21.1-1.0.1.jar. 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 LazyRAM without breaking your instance.

Built for LazyRAM-Forge-1.21.1-1.0.1.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use LazyRAM-Forge-1.21.1-1.0.1.jar. It targets 1.21.1 with Quilt; 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 LazyRAM-Forge-1.21.1-1.0.1.jar. It opens that exact file at the source.

About this project

What does LazyRAM add?

LazyRAM

curseforge Available on Nexus Mods fabric-api

NeoForge Supported fabric quilt forge

NOTE: Requires Fabric API on fabric

LazyRAM is a fully automatic, client-side memory optimization mod for Minecraft 1.21.1 NeoForge, Quilt and Fabric.

It is designed to reduce unnecessary RAM overhead by compacting, deduplicating and retiring several memory-heavy Minecraft client structures.

There is no menu, no HUD and no keybinds. LazyRAM works automatically in the background and does not reduce your render distance or graphics settings.

What does LazyRAM optimize?

LazyRAM works directly with several internal Minecraft memory structures.

It can:

  • Deduplicate model variant strings.
  • Deduplicate identical BakedQuad vertex arrays.
  • Compact baked-model face lists and directional face maps.
  • Reuse identical model face lists instead of keeping unnecessary copies.
  • Deduplicate collision and occlusion VoxelShapes.
  • Deduplicate VoxelShape arrays used by block-state caches.
  • Replace repeated 6-value block face arrays with shared canonical arrays.
  • Compact BlockState neighbour lookup data into a shared indexed representation.
  • Reuse empty DataComponent patch maps.
  • Cache and reuse multipart block-model predicates.
  • Deduplicate equivalent multipart baked models.
  • Automatically discard temporary optimization lookup caches after they are no longer needed.

The goal is not to remove game data, but to avoid keeping multiple equivalent Java objects in memory when the same immutable data can safely be shared.

Adaptive heap pressure control

LazyRAM monitors Java heap usage while Minecraft is running.

When memory pressure becomes high, rebuildable internal optimization caches can be automatically discarded instead of being allowed to grow indefinitely.

The mod also includes a leak-growth sentinel which watches the heap baseline and retires temporary caches when sustained memory growth is detected.

At critical heap pressure, LazyRAM can request an explicit garbage collection cycle.

These systems are automatic and configurable.

Deep AFK mode

LazyRAM includes an automatic Deep AFK mode.

By default, after 60 seconds without keyboard or mouse activity, LazyRAM can:

  • Retire temporary optimization caches.
  • Clear cached model/predicate lookup data.
  • Remove existing particles.
  • Stop processing and spawning new particles while AFK.
  • Run a garbage collection cycle.
  • Pause the integrated server simulation in singleplayer.

As soon as keyboard or mouse activity is detected, normal operation resumes automatically.

In singleplayer, this means the world simulation can be frozen while you are away and resumed when you return. Multiplayer servers are not paused.

Crash and hang protection

LazyRAM also contains an optional aggressive crash/hang guard.

By default:

  • Fatal Minecraft crashes can immediately terminate the JVM instead of opening the normal crash screen.
  • A watchdog monitors the client render loop.
  • If the client stops responding for approximately **45 seconds**, the watchdog can forcibly terminate the JVM.
  • Resource reloads receive an extended grace period to avoid treating heavy reload operations as a hang.

These features can be disabled in the configuration file if you prefer Minecraft's normal crash behaviour.

Configuration

LazyRAM intentionally has no in-game configuration screen.

Configuration is stored in:

config/lazyram.properties\

Individual optimization systems can be enabled or disabled separately, including the heap-pressure engine, leak sentinel, explicit GC, crash guard, hang watchdog and Deep AFK behaviour.

Compatibility

  • Minecraft: 1.21.1
    • Mod loader: NeoForge 21.1+
    • Side: Client only
    • Java: 21
    • Server installation: Not required
    • License: MIT

LazyRAM uses Mixins to modify low-level Minecraft client memory structures, so when combining it with other mods that heavily modify the same rendering, model or BlockState internals, testing the combination is recommended.

Philosophy

LazyRAM does not add gameplay content and does not lower visual quality to save memory.

Instead, it focuses on reducing duplicated data, using more compact representations, cleaning temporary lookup structures when they become cold, and reacting automatically to memory pressure.

Install it and let it work in the background.

Thanks to intergrav for cozy badges! (if someone wants to see here is the link https://intergrav.github.io/devins-badges-docs/badges/cozy/)

Project description from CurseForge.

Pick your setup

LazyRAM by Minecraft version and loader

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

3 available setups

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

Recent files

LazyRAM versions and loaders

4 of 4 releases match

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