GmodGeneralConsole reference
Memory
Memory management settings.
Memory
Memory management settings.
This is a reference of all mem_* console commands. Use find mem in the console to search within this category.
All Commands (15)
| Command | Default | Description |
|---|---|---|
mem_compact | cmd | - |
mem_dump | cmd | Dump memory stats to text file. |
mem_dumpstats | 0 | Dump current and max heap usage info to console at end of frame ( set to 2 for continuous output ) |
mem_dumpvballocs | cmd | Dump VB memory allocation stats. |
mem_force_flush | 0 | Force cache flush of unlocked resources on every alloc |
mem_incremental_compact | cmd | - |
mem_max_heapsize | 512 | Maximum amount of memory to dedicate to engine hunk and datacache (in mb) |
mem_max_heapsize_dedicated | 64 | Maximum amount of memory to dedicate to engine hunk and datacache, for dedicated server (in mb) |
mem_min_heapsize | 48 | Minimum amount of memory to dedicate to engine hunk and datacache (in mb) |
mem_periodicdumps | 0 | Write periodic memstats dumps every n seconds. |
mem_test | cmd | - |
mem_test_each_frame | 0 | Run heap check at end of every frame |
mem_test_every_n_seconds | 0 | Run heap check at a specified interval |
mem_vcollide | cmd | Dumps the memory used by vcollides |
mem_verify | cmd | Verify the validity of the heap |