Error Triage Hub (10)
300k+ Entity Late-Wipe GC.Collect Freeze (1.5–4s Stalls)
Full stop-the-world GC sweeps pause RakNet ACKs for 1.5 to 4 seconds once entity counts pass 300k.
Threshold: 300k+ entities / 18+ GB RAM | Fix: gc.buffer 4096
Symptom Signature: Simultaneous Timeout Disconnects
Every 8 to 15 minutes on day 4+ of a monthly or bi-weekly wipe, the entire server freezes in place for 1,500 to 3,800 milliseconds. Logs print gc.collect spikes alongside mass Timed Out disconnects as RakNet heartbeats miss their window.
Root Cause: C# Heap Fragmentation & Small gc.buffer
Each compound base adds building blocks, deployables, electrical circuits, and industrial pipes to the managed C# object graph. Default gc.buffer settings trigger frequent full heap walks across 300,000+ active references, stalling the main thread.
Measured Thresholds & Configuration
| Entity Count | Working-Set RAM | Default GC Pause |
|---|---|---|
| 100,000 Entities | 10.2–12.4 GB | 180–350 ms |
| 250,000 Entities | 15.8–18.6 GB | 650–1,200 ms |
| 350,000 Entities | 19.5–23.4 GB | 1,500–2,900 ms |
| 500,000 Entities | 24.5–28.0 GB | 2,800–4,200 ms |