mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 00:24:12 +00:00
[qfvis] Allocate only 128MB for the main hunk
Even ad_tears didn't really need 1GB, and 32-bit machines can't really handle 1GB (at least on windows).
This commit is contained in:
parent
a01cafe972
commit
6fb6885b88
1 changed files with 1 additions and 1 deletions
|
@ -1562,7 +1562,7 @@ main (int argc, char **argv)
|
||||||
{
|
{
|
||||||
double start, stop;
|
double start, stop;
|
||||||
QFile *f;
|
QFile *f;
|
||||||
size_t main_memsize = 1024 * 1024 * 1024;
|
size_t main_memsize = 128 * 1024 * 1024;
|
||||||
|
|
||||||
main_thread.memsuper = new_memsuper ();
|
main_thread.memsuper = new_memsuper ();
|
||||||
main_thread.hunk = Hunk_Init (Sys_Alloc (main_memsize), main_memsize);
|
main_thread.hunk = Hunk_Init (Sys_Alloc (main_memsize), main_memsize);
|
||||||
|
|
Loading…
Reference in a new issue