gc ConVars
Every variable and command in the gc namespace that a Rust dedicated server lists, 6 in all, with the help text it printed and the value we read. How to set them is on the ConVar overview.
Recorded on Rust build 25582902, . Values are what that server returned, which is not always the default.
6 entries
Variables 3
| ConVar | Value | Description |
|---|---|---|
| gc.enabled | True | (Generated) When enabled, this system is globally active; disable to deactivate the system for the current session |
| gc.incremental_enabled | True | (Generated) Read-only: reports whether Unity incremental garbage collection is enabled for this runtime; cannot be changed at runtime |
| gc.incremental_milliseconds | 3 | (Generated) Time slice in milliseconds allocated to incremental GC per frame; lower values reduce GC stutter but spread collection over more frames |
Commands 3
| Command | Description |
|---|---|
| gc.alloc | (Generated) Allocates a byte array of the given size (default 1 MB) as a GC pressure test; useful for profiling memory allocation throughput |
| gc.collect | (Generated) Triggers an immediate full managed garbage collection pass; useful after large allocations for memory profiling |
| gc.unload | (Generated) Calls Resources.UnloadUnusedAssets() to unload assets no longer referenced by any object, freeing RAM and VRAM |
Back to the list of all namespaces.
Skip the manual work: install the Panelra agent
Wipes, updates, restarts, plugins and crash alerts for your Rust servers, from one dashboard. One install command on your Linux host, no inbound ports for the agent.
Free during the open beta. Pricing will be announced before the beta ends.