Wiki 9Minecraft Wiki 9Minecraft
Memory Sweep Wiki › Guides › How Automatic Memory Cleanup Works by Default

How Automatic Memory Cleanup Works by Default

Out of the box, Memory Sweep Mod manages your game's RAM in the background without requiring any player input. Understanding its default behavior helps you know what to expect during normal gameplay and decide whether you need to customize its settings.

Default Schedule and Thresholds

As soon as you load into a world, automatic memory cleanup is active using two built-in defaults:

  • Time Interval (15 Minutes): By default, the mod waits 15 minutes between scheduled garbage collection checks.
  • Memory Usage Threshold (90%): The mod uses a default ceiling of 90% memory usage to govern when garbage collection is needed.

Monitoring Automatic Sweeps

You do not need to run any commands to turn this feature on. If you want to verify that your memory is staying under control while you play:

1. Play normally for at least 15 minutes so the default timer has time to cycle, or let your world load heavy areas until RAM usage climbs.

2. Press F3 to bring up the vanilla debug overlay.

3. Watch the Mem: readout in the upper-right corner.

When an automatic sweep triggers, unused data left behind by unloaded chunks, entities, and game actions is cleared out, dropping your active memory percentage back down and helping prevent memory-related stutters.