From 12f3ac4f46d7aa774acea2eb8d0f2f72e2b93f8a Mon Sep 17 00:00:00 2001 From: Daniel Lehman Date: Thu, 11 Apr 2013 16:04:00 -0700 Subject: [PATCH] ntdll: Use larger virtual heap for 64-bit. --- dlls/ntdll/virtual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c index 7a071282cfc..121071fd559 100644 --- a/dlls/ntdll/virtual.c +++ b/dlls/ntdll/virtual.c @@ -146,7 +146,7 @@ static const int is_win64 = (sizeof(void *) > sizeof(int)); #define VIRTUAL_DEBUG_DUMP_VIEW(view) \ do { if (TRACE_ON(virtual)) VIRTUAL_DumpView(view); } while (0) -#define VIRTUAL_HEAP_SIZE (4*1024*1024) +#define VIRTUAL_HEAP_SIZE (sizeof(void*)*1024*1024) static HANDLE virtual_heap; static void *preload_reserve_start;