mcmodwiki
Mods › RAMization

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 nbtKeys interning — Deduplicate CompoundTag key strings. Saves RAM in entity-heavy worlds.
  • Intern Pool Max Size poolMaxSize interning — Maximum unique strings held in the pool. 0 = unlimited.
  • Intern ResourceLocation Strings resourceLocations interning — Deduplicate ResourceLocation namespace/path strings. Highly recommended.
Show all 12 settings
  • Log GC Events gcEvents logging — Log a message each time SmartGC triggers a collection.
  • Log Periodic Stats periodicStats logging — Log memory saving statistics every 5 minutes.
  • GC Cooldown (seconds) cooldownSeconds smartGC — Minimum seconds between two SmartGC-triggered collections.
  • Enable SmartGC Scheduler enabled smartGC — Trigger GC only during idle tick windows to avoid mid-tick lag spikes.
  • GC Heap Threshold (%) heapThresholdPercent smartGC — Heap must be at least this full before SmartGC fires.
  • Idle Tick Threshold (ms) idleTickMs smartGC — A tick is 'idle' if it completes in fewer ms than this.
  • Consecutive Idle Ticks Required idleTicksRequired smartGC — How many consecutive idle ticks before GC is triggered.
  • Enable Texture Cache Trimming enableTrim textureCache — Periodically trim stale sprite entries from texture atlases. CLIENT ONLY.
  • Texture Trim Interval (seconds) trimIntervalSeconds textureCache — 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

Mods › RAMization