mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-24 21:12:27 +00:00
shrink the default heap for the server from 16 to 8 meg
This commit is contained in:
parent
b10b829260
commit
3240ed57b4
2 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ main (int argc, char *argv[])
|
|||
host_parms.argc = com_argc;
|
||||
host_parms.argv = com_argv;
|
||||
|
||||
host_parms.memsize = 16 * 1024 * 1024;
|
||||
host_parms.memsize = 8 * 1024 * 1024;
|
||||
|
||||
j = COM_CheckParm ("-mem");
|
||||
if (j)
|
||||
|
|
|
@ -213,7 +213,7 @@ main (int argc, char **argv)
|
|||
host_parms.argc = com_argc;
|
||||
host_parms.argv = com_argv;
|
||||
|
||||
host_parms.memsize = 16 * 1024 * 1024;
|
||||
host_parms.memsize = 8 * 1024 * 1024;
|
||||
|
||||
if ((t = COM_CheckParm ("-heapsize")) != 0 && t + 1 < com_argc)
|
||||
host_parms.memsize = atoi (com_argv[t + 1]) * 1024;
|
||||
|
|
Loading…
Reference in a new issue