Commit 81abbb95 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #13065 with file selector dialog on Windows 7.

 src/w32heap.c (allocate_heap) [!_WIN64]: Decrease the initial
 request of memory reservation to 1.7GB.
parent ba14c607
2013-01-22 Eli Zaretskii <eliz@gnu.org>
* w32heap.c (allocate_heap) [!_WIN64]: Decrease the initial
request of memory reservation to 1.7GB. (Bug#13065)
2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
 
* coding.c (detect_coding_iso_2022): Move back mis-reordered code
......
......@@ -98,7 +98,11 @@ allocate_heap (void)
#ifdef _WIN64
size_t size = 0x4000000000i64; /* start by asking for 32GB */
#else
size_t size = 0x80000000; /* start by asking for 2GB */
/* We used to start with 2GB here, but on Windows 7 that would leave
too little room in the address space for threads started by
Windows on our behalf, e.g. when we pop up the file selection
dialog. */
size_t size = 0x68000000; /* start by asking for 1.7GB */
#endif
void *ptr = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment