mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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:
parent
98f45470d6
commit
7044f89008
2 changed files with 2 additions and 10 deletions
|
@ -87,11 +87,7 @@ static void Sys_InitSDL (void)
|
||||||
atexit(Sys_AtExit);
|
atexit(Sys_AtExit);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(_LP64) || defined(__LP64__) || defined(_WIN64)
|
#define DEFAULT_MEMORY (256 * 1024 * 1024) // ericw -- was 72MB (64-bit) / 64MB (32-bit)
|
||||||
#define DEFAULT_MEMORY 0x4800000
|
|
||||||
#else
|
|
||||||
#define DEFAULT_MEMORY 0x4000000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static quakeparms_t parms;
|
static quakeparms_t parms;
|
||||||
|
|
||||||
|
|
|
@ -23,11 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
#include "quakedef.h"
|
#include "quakedef.h"
|
||||||
|
|
||||||
#if defined(_LP64) || defined(__LP64__) || defined(_WIN64)
|
#define DYNAMIC_SIZE (4 * 1024 * 1024) // ericw -- was 512KB (64-bit) / 384KB (32-bit)
|
||||||
#define DYNAMIC_SIZE 0x80000 // 512*1024
|
|
||||||
#else
|
|
||||||
#define DYNAMIC_SIZE 0x60000 // 384*1024
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define ZONEID 0x1d4a11
|
#define ZONEID 0x1d4a11
|
||||||
#define MINFRAGMENT 64
|
#define MINFRAGMENT 64
|
||||||
|
|
Loading…
Reference in a new issue