A massive optimized Sandustry Gold farm

Late-Game Megabase · 9 FPS Fix

Sandustry Late-Game Performance Guide: 1M Gold Farms & Lag Fixes

Reaching the 1 Million Gold milestone often causes severe performance degradation, dropping framerates into the single digits (e.g., 9 FPS). Optimizing your factory requires aggressively managing item entities and clearing deadlocked material lines.

Milestone
1,000,000 Gold
Common Issue
Entity overload (9 FPS)
Primary Fix
Void Gun entity clearing
Optimization
Closed-loop systems

Quick answer

How to fix lag in a 1M Gold factory

Acquire and use the Void Gun to one-shot massive buildups of backed-up materials (like excessive Residue or dry Sand). Consolidate loose items onto maximum-compression Belts and avoid open-air item drops.

What the evidence supports

Eliminate entity bloat,
restore your framerate.

  1. 01 · Clear Backlogs with the Void Gun

    The Void Gun can instantly delete massive clumps of deadlocked entities. Use it to clear half your screen of stuck Residue that is tanking your physics thread.

  2. 02 · Avoid Open-Air Physics Drops

    Materials falling freely through the air require constant physics updates. Keep materials compressed inside Pipes, Belts, or dedicated machines like Kinetic Presses.

  3. 03 · Sink Excess Byproducts

    A 1M Gold run generates millions of Residue pixels. If you aren't burning it in a Slag Burner or Lava loop, route it into an automated Void setup.

  4. 04 · Optimize Steam Networks

    Uncontained Steam expanding into open caves causes severe lag. Use closed-loop steam networks to keep Water/Steam cycling within pipes without backflow.

Questions answered

Solve the next
blockage.

Why does my game lag so much at 1 Million Gold?

The sheer volume of individual items (Sand, Wet Sand, Residue, Gold) overwhelms the physics simulation if they aren't efficiently processed or destroyed.

What is the best way to get rid of Residue?

Early game, use Lava to burn it or build large containment silos. Late game, automate deletion using void mechanics or Void Gun sweeps.

Do Pipes cause lag?

Pipes are generally better for performance than open-air item transport because the game doesn't calculate free-fall collisions for piped fluids.

Evidence notes

Confirmed first.
Tested second.

Source Wiki

  • Every individual material pixel in the world is simulated by the physics engine.
  • The Void Gun permanently deletes entities and terrain it targets, releasing memory.

Community-tested

  • Reddit r/SandustryGame: A player achieved 1 million gold over the weekend but hit 9 FPS. The community identified the primary fix: 'Get the void gun - it one shots half the screen of entities.'
  • Community builders emphasize replacing open-air waterfall designs with direct pipe connections once entity counts exceed 100k.

These are useful player examples, not official specifications.

Continue the route

Gold Speedrun guideLava Automation