[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:
Bill Currie 2021-08-13 11:21:05 +09:00
parent a01cafe972
commit 6fb6885b88

View file

@ -1562,7 +1562,7 @@ main (int argc, char **argv)
{
double start, stop;
QFile *f;
size_t main_memsize = 1024 * 1024 * 1024;
size_t main_memsize = 128 * 1024 * 1024;
main_thread.memsuper = new_memsuper ();
main_thread.hunk = Hunk_Init (Sys_Alloc (main_memsize), main_memsize);