increase hunk alloc max memory size

64mb is not big enough for sirroco
This commit is contained in:
Fisual
2021-09-14 17:47:33 +07:00
parent 0c0260fa11
commit f2d2ffb91b
+1 -1
View File
@@ -133,7 +133,7 @@ void Hunk_Print()
void Memory_Init( void ) void Memory_Init( void )
{ {
MEM_ALLOC_CREDIT(); MEM_ALLOC_CREDIT();
int nMaxBytes = 64*1024*1024; int nMaxBytes = 128*1024*1024;
const int nMinCommitBytes = 0x8000; const int nMinCommitBytes = 0x8000;
#ifndef HUNK_USE_16MB_PAGE #ifndef HUNK_USE_16MB_PAGE
const int nInitialCommit = 0x280000; const int nInitialCommit = 0x280000;