Raise default heapsize to 256MB and zone to 4MB (matching Fitz MarkV)

N.B.: I verified with the OS X Instruments tool that unused space in the heap isn't dirtied (e.g. we never memset the entire heap, only the portions returned by Hunk_Alloc) so this should have no impact on RAM required.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1276 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
ewasylishen 2016-01-09 20:29:22 +00:00
parent 98f45470d6
commit 7044f89008
2 changed files with 2 additions and 10 deletions

View File

@ -87,11 +87,7 @@ static void Sys_InitSDL (void)
atexit(Sys_AtExit);
}
#if defined(_LP64) || defined(__LP64__) || defined(_WIN64)
#define DEFAULT_MEMORY 0x4800000
#else
#define DEFAULT_MEMORY 0x4000000
#endif
#define DEFAULT_MEMORY (256 * 1024 * 1024) // ericw -- was 72MB (64-bit) / 64MB (32-bit)
static quakeparms_t parms;

View File

@ -23,11 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "quakedef.h"
#if defined(_LP64) || defined(__LP64__) || defined(_WIN64)
#define DYNAMIC_SIZE 0x80000 // 512*1024
#else
#define DYNAMIC_SIZE 0x60000 // 384*1024
#endif
#define DYNAMIC_SIZE (4 * 1024 * 1024) // ericw -- was 512KB (64-bit) / 384KB (32-bit)
#define ZONEID 0x1d4a11
#define MINFRAGMENT 64