
HTP CIT Resewn Optimizer
A client-side performance patch that fixes memory leaks and reduces lag caused by the mod CIT Resewn
CIT Resewn has two issues in large modpacks. First, it re-evaluates custom item textures every frame even when nothing has changed — this causes unnecessary CPU usage when browsing large inventories or EMI item grids. Second, it leaks over 1 GB of RAM per session by allocating objects into every ItemStack that are never freed.
This is a patch for /mod/cit-resewn
What does HTP CITOptimizer do?
Caches CIT evaluation results so repeat lookups are skipped, and fixes a massive memory leak. Significantly reduced GC pressure from eliminated per-frame allocations. Lower CPU usage when browsing large inventories or EMI item grids.
Your client will no longer freeze, crash, or lag after hours of gameplay requiring a restart due to CITResewn.
We were experiencing memory climbing steadily until it hits the heap limit causing stutters multiple times per day most noticable when relogging on servers.
Before HTP CITOptimizer:

After HTP CITOptimizer:

Created by the team at https://www.hacktheplanet.now
