sv_memlimit Command

Explore usage, syntax, and examples for the sv_memlimit CS2 developer console command.

sv_memlimit

CS2 and CSGO

Command

sv_memlimit

<Megabytes>

Stops the server at the end of a match if its memory usage exceeds the specified limit in megabytes. Setting this to 0 disables the shutdown based on memory usage.

<Megabytes>

Set the memory usage limit in MB. The server will shut down if memory used is above this value after a match. Use 0 to disable.

sv_cheats Required

No

Client or Server Command

Client

Server

Default Value

0

sv_memlimit Generator

Command

sv_memlimit

<Megabytes>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

sv_memlimit Examples

Command

sv_memlimit

0

Disables the memory-based server shutdown feature.

Command

sv_memlimit

2048

Shuts down the server after a match if memory usage exceeds 2048 MB (2 GB).