Justified
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)

CommandDefaultDescription
mem_compactcmd-
mem_dumpcmdDump memory stats to text file.
mem_dumpstats0Dump current and max heap usage info to console at end of frame ( set to 2 for continuous output )
mem_dumpvballocscmdDump VB memory allocation stats.
mem_force_flush0Force cache flush of unlocked resources on every alloc
mem_incremental_compactcmd-
mem_max_heapsize512Maximum amount of memory to dedicate to engine hunk and datacache (in mb)
mem_max_heapsize_dedicated64Maximum amount of memory to dedicate to engine hunk and datacache, for dedicated server (in mb)
mem_min_heapsize48Minimum amount of memory to dedicate to engine hunk and datacache (in mb)
mem_periodicdumps0Write periodic memstats dumps every n seconds.
mem_testcmd-
mem_test_each_frame0Run heap check at end of every frame
mem_test_every_n_seconds0Run heap check at a specified interval
mem_vcollidecmdDumps the memory used by vcollides
mem_verifycmdVerify the validity of the heap

On this page