Daniel Lehman : ntdll: Use larger virtual heap for 64-bit.
Alexandre Julliard
julliard at winehq.org
Fri Apr 12 10:40:36 CDT 2013
Module: wine
Branch: master
Commit: 12f3ac4f46d7aa774acea2eb8d0f2f72e2b93f8a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=12f3ac4f46d7aa774acea2eb8d0f2f72e2b93f8a
Author: Daniel Lehman <dlehman at esri.com>
Date: Thu Apr 11 16:04:00 2013 -0700
ntdll: Use larger virtual heap for 64-bit.
---
dlls/ntdll/virtual.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c
index 7a07128..121071f 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;
More information about the wine-cvs
mailing list