Wiki 9Minecraft Wiki 9Minecraft
Memory Sweep Wiki › Guides › How to Change the Automatic Cleanup Time Interval

How to Change the Automatic Cleanup Time Interval

By default, Memory Sweep Mod runs its periodic memory cleanup on a 15-minute timer. Depending on how much RAM you allocate to Minecraft and how quickly your world generates clutter, you can shorten or lengthen this schedule in the mod's customizable settings.

Deciding on a New Interval

  • Shorter than 15 minutes: Useful if you travel fast—such as flying with an Elytra—and notice lag building up well before the 15-minute mark.
  • Longer than 15 minutes: Useful if you have plenty of RAM allocated and prefer garbage collection to happen less frequently during quiet building sessions.

Updating the Interval Setting

To adjust how often the mod triggers periodic cleanup:

1. Access the mod's settings through your mod loader's in-game Mods menu, or open your Minecraft instance folder and locate Memory Sweep Mod's configuration file inside the config directory.

2. Find the setting that controls the time interval (set to the equivalent of 15 minutes by default).

3. Replace the default value with your preferred interval.

4. Save your changes. If you edited a configuration file outside the game while Minecraft was running, restart the game so the new timer takes effect.

Once loaded, the mod will automatically follow your updated schedule instead of the standard 15-minute cycle.