Author: hbelusca
Date: Sun Mar 5 17:03:57 2017
New Revision: 74082
URL:
http://svn.reactos.org/svn/reactos?rev=74082&view=rev
Log:
[FREELDR]: HACK: Manually reduce the size of the temporary heap from 32MB down to 10MB,
because, in some situations (e.g. Bochs, or real HW, see CORE-12694), FreeLDR fails when
creating the temporary heap with an "out of memory" error.
See also r73653 for other details.
Modified:
branches/ReactOS-0.4.4-CLT2017/reactos/boot/freeldr/freeldr/include/mm.h
Modified: branches/ReactOS-0.4.4-CLT2017/reactos/boot/freeldr/freeldr/include/mm.h
URL:
http://svn.reactos.org/svn/reactos/branches/ReactOS-0.4.4-CLT2017/reactos/b…
==============================================================================
--- branches/ReactOS-0.4.4-CLT2017/reactos/boot/freeldr/freeldr/include/mm.h [iso-8859-1]
(original)
+++ branches/ReactOS-0.4.4-CLT2017/reactos/boot/freeldr/freeldr/include/mm.h [iso-8859-1]
Sun Mar 5 17:03:57 2017
@@ -121,7 +121,7 @@
/* Heap */
#define DEFAULT_HEAP_SIZE (1024 * 1024)
-#define TEMP_HEAP_SIZE (32 * 1024 * 1024)
+#define TEMP_HEAP_SIZE (10 * 1024 * 1024)
extern PVOID FrLdrDefaultHeap;
extern PVOID FrLdrTempHeap;