CurseForge · Minecraft mod
HeapHammer
Deterministic Minecraft server stress testing and retained-memory regression detection.
Quick answer
Which HeapHammer release matches 1.16.2 Forge?
HeapHammer [Forge 1.16.5] HeapHammer 1.2.1 targets 1.16.3, 1.16.1, 1.16 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 HeapHammer required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does HeapHammer [Forge 1.16.5] HeapHammer 1.2.1 need?
[Forge 1.16.5] HeapHammer 1.2.1 on 1.16.2 Forge. Every mod below is checked against that same setup.
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 HeapHammer without breaking your instance.
Built for HeapHammer [Forge 1.16.5] HeapHammer 1.2.1 on 1.16.2 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use [Forge 1.16.5] HeapHammer 1.2.1. It targets 1.16.3, 1.16.1, 1.16 with Forge; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside [Forge 1.16.5] HeapHammer 1.2.1. It opens that exact file at the source.
About this project
What does HeapHammer add?
HeapHammer
A server-side tool that tests a Minecraft server for memory leaks. Players install nothing.
The problem
Memory leaks in a large modpack usually only show up after the server has run for a day or two under real player load: someone flying with an Elytra, a mob farm running nonstop, machines cycling. By the time it crashes, you no longer know which mod caused it.
What it does
HeapHammer runs that kind of load on demand and fits it into about two minutes. It loads chunks, spawns and removes entities, and places and breaks block entities through the same code paths a real player would use. Then it checks whether memory came back down or kept climbing. The result is one of:
- PASS: memory recovered.
- PASS (plateau): memory settled after an initial cache warm-up.
- SUSPICIOUS: memory keeps growing cycle after cycle. That is a leak.
It needs no mod-specific setup. It exercises the vanilla server, so it works with whatever is installed.
What it catches
- Minimap and land-claim mods that keep chunk data after the chunk unloads.
- Entity-tracking or damage-indicator mods that don't clean up after mobs despawn.
- Tech mods whose machines don't unregister when broken.
- Leaks that only appear when two specific mods run together, which are the hardest to find.
Safe on a live server
It only touches its own test chunks and entities, never player builds or the world spawn. Work is limited to 15 ms per tick, so it should not cause lag or trip your watchdog. /hh stop or /hh cleanup stops a test and clears everything immediately.
Quick start
Put the jar in the server's mods folder, then run these from the console or in game as an operator:
/hh doctor
/hh run chunks --iterations=5 --batch=10 --radius=8 --strategy=spiral
/hh report show last
If you are hunting a leak after adding a mod, run it before and after, then compare with /hh report diff to see which run changed the numbers.
All commands need operator level 2 or higher. Fabric Permissions API and LuckPerms also work.
Commands
| Command | What it does |
|---|---|
hh doctor |
Server readiness, chunk and ticket health |
hh run chunks / entities / blockentities |
Run a stress workload |
hh status / hh stop / hh cleanup |
Monitor and halt |
hh report show <id or last> |
Retention slope, R², verdict |
hh report diff <runA> <runB> |
Compare two runs to find a regression |
hh replay <run-id> |
Replay the exact operation sequence |
hh diagnostics histogram / heapdump |
JVM class histogram or .hprof dump |
Test results
86 automated tests pass. On a real dedicated server, a clean install measured 0.75 MB of retained memory per cycle (no false alarm), and a build with a deliberately seeded leak measured 10.56 MB per cycle. It also caught a leak that only appeared with two specific mods loaded together, which is easy to miss when testing mods one at a time.
Supported versions
- Forge: 1.7.10, 1.12.2
- Fabric: 1.16.5, 1.18.2, 1.19.2, 1.20.1, 1.21.1, 1.21.4
- NeoForge: 1.21.1
License: LGPL-3.0.
Found a bug, or have an idea for this mod? Tell us in the Dwurdy Workshop Discord, where we maintain it. Developers, testers, 3D modellers and 2D artists are welcome, and any help is appreciated.
We also maintain: Create: Contour, Dawnmine, Dungeon World, Dwurdy Sharks, Gatehouse, ItemGraph, Lifepath, Straja.
Project description from CurseForge.
Pick your setup
HeapHammer by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21
3 loader builds1.20.1
3 loader builds1.20
3 loader builds1.18.2
3 loader builds1.18.1
3 loader builds1.18
3 loader builds1.16.5
3 loader builds1.16.4
3 loader builds1.16.3
3 loader builds1.16.2
3 loader builds1.16.1
3 loader buildsShowing the newest 12 of 17 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
HeapHammer versions and loaders
[Forge 1.16.5] HeapHammer 1.2.1
heaphammer-1.16.5-forge-1.2.1.jar
5 Oct 2026
[Forge 1.16.5] HeapHammer 1.2.0
heaphammer-1.16.5-forge-1.2.0.jar
5 Oct 2026
[Forge 1.16.5] HeapHammer 1.1.1
heaphammer-1.16.5-forge-1.1.1.jar
30 Sept 2026
Looking for an older file? The official CurseForge project page is in Resources.