sv_memlimit Command


sv_memlimit [Megabytes]

This command, if set, will shutdown the server at the end of a game if the amount of memory it is using is above this amount in megabytes. Note that this doesn't limit memory during the game, it will only shut down the server at the end of the match if it is exceeding this amount. Set to 0 to disable.

Arguments


Arguments are parameters that you add to a command. Find information about this command's arguments below.

MegabytesThe memory limit, in MB. Set to 0 to disable.

Extra Info

Sv_cheats Required? No
Client or Server Command? Both
Default Value 0

sv_memlimit Examples


Find below working examples of this command (copy and paste into console).


sv_memlimit 0

This command disables the memory limit feature.


sv_memlimit 2048

This command would make the server stop, if at the end of the match it was using more than 2GB (2048MB) of RAM.