diff options
| author | Glenn Morris | 2013-01-24 20:41:39 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-01-24 20:41:39 -0800 |
| commit | 830e46e61ba1316e771c72a15e709d3d12e150b7 (patch) | |
| tree | c88c21c32f65dc77d8f76c315a41a519a585dc8f /src/w32heap.c | |
| parent | 3d4147bae3f03502acb3d12a5c9747129cc0c6aa (diff) | |
| parent | 345f866e048bdc11bc38d894a7eaaa47335443e2 (diff) | |
| download | emacs-830e46e61ba1316e771c72a15e709d3d12e150b7.tar.gz emacs-830e46e61ba1316e771c72a15e709d3d12e150b7.zip | |
Merge from emacs-24; up to 2012-12-11T18:52:31Z!monnier@iro.umontreal.ca
Diffstat (limited to 'src/w32heap.c')
| -rw-r--r-- | src/w32heap.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/w32heap.c b/src/w32heap.c index 9c189dbda6d..81206ce2834 100644 --- a/src/w32heap.c +++ b/src/w32heap.c | |||
| @@ -98,7 +98,11 @@ allocate_heap (void) | |||
| 98 | #ifdef _WIN64 | 98 | #ifdef _WIN64 |
| 99 | size_t size = 0x4000000000i64; /* start by asking for 32GB */ | 99 | size_t size = 0x4000000000i64; /* start by asking for 32GB */ |
| 100 | #else | 100 | #else |
| 101 | size_t size = 0x80000000; /* start by asking for 2GB */ | 101 | /* We used to start with 2GB here, but on Windows 7 that would leave |
| 102 | too little room in the address space for threads started by | ||
| 103 | Windows on our behalf, e.g. when we pop up the file selection | ||
| 104 | dialog. */ | ||
| 105 | size_t size = 0x68000000; /* start by asking for 1.7GB */ | ||
| 102 | #endif | 106 | #endif |
| 103 | void *ptr = NULL; | 107 | void *ptr = NULL; |
| 104 | 108 | ||