CS2 & CS:GO sv_memlimit Command

CS:GO & CS2 Compatible
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.

Argument Information

The syntax for this command is as follows:
Name Description

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

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Client or Server Command
Default Value
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

sv_memlimit <Megabytes>
0/1 arguments filled

sv_memlimit Examples

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.