sv_memlimit
sv_memlimit <value>
If set, whenever a game ends, if the total memory used by the server is greater than this # of megabytes, the server will exit.
If set, whenever a game ends, if the total memory used by the server is greater than this # of megabytes, the server will exit.