RAMization
RAMization focuses on optimizing RAM usage, which is especially noticeable in large modpacks!
12 config settings
Build 1.0.0 · checked 13 September 2026
Guides
Config
- Intern NBT Key Strings
nbtKeysinterning— Deduplicate CompoundTag key strings. Saves RAM in entity-heavy worlds. - Intern Pool Max Size
poolMaxSizeinterning— Maximum unique strings held in the pool. 0 = unlimited. - Intern ResourceLocation Strings
resourceLocationsinterning— Deduplicate ResourceLocation namespace/path strings. Highly recommended.
Show all 12 settings
- Log GC Events
gcEventslogging— Log a message each time SmartGC triggers a collection. - Log Periodic Stats
periodicStatslogging— Log memory saving statistics every 5 minutes. - GC Cooldown (seconds)
cooldownSecondssmartGC— Minimum seconds between two SmartGC-triggered collections. - Enable SmartGC Scheduler
enabledsmartGC— Trigger GC only during idle tick windows to avoid mid-tick lag spikes. - GC Heap Threshold (%)
heapThresholdPercentsmartGC— Heap must be at least this full before SmartGC fires. - Idle Tick Threshold (ms)
idleTickMssmartGC— A tick is 'idle' if it completes in fewer ms than this. - Consecutive Idle Ticks Required
idleTicksRequiredsmartGC— How many consecutive idle ticks before GC is triggered. - Enable Texture Cache Trimming
enableTrimtextureCache— Periodically trim stale sprite entries from texture atlases. CLIENT ONLY. - Texture Trim Interval (seconds)
trimIntervalSecondstextureCache— How often to trim the texture cache.
Frequently Asked Questions
How does RAMization reduce memory usage from entities and items?
It enables Intern NBT Key Strings and Intern ResourceLocation Strings to deduplicate repeated compound tag keys and identifier namespaces in memory.
What does the Enable SmartGC Scheduler setting do?
It schedules garbage collection passes to run only during idle tick windows when the server is not under heavy load, avoiding mid-tick lag spikes.
How do you configure the memory interning pool limit?
Set the Intern Pool Max Size option to your desired maximum unique strings, or enter 0 to allow an unlimited pool size.
How often does Log Periodic Stats output memory savings?
When enabled, Log Periodic Stats logs memory statistics to the console every 5 minutes.
What is the benefit of Enable Texture Cache Trimming?
It periodically purges stale sprite entries from loaded texture atlases on the client side to keep visual memory consumption down.
Download Links
- curseforge.com www.curseforge.com/minecraft/mc-mods/ramization
- Source github.com/Konrados3/RAMization