[3/3] kernel32/heap: Add registry caps for reported memory. (resend)
Adam Martinson
amartinson at codeweavers.com
Mon Jun 6 11:03:23 CDT 2011
This is a workaround for some broken installers which don't understand
large amounts of memory. eg, the Photoshop 4 installer is broken on
Windows on systems with modern amounts of memory due to a bug in
Macromedia Director. Macromedia's suggested solution is to reduce the
pagefile size to 200MB or less. This gives us a similar course of action,
setting HKLM\Software\Wine\GlobalMemory\TotalPageFileMax = "200" fixes the
installer in Win98 mode.
Similarly, setting HKLM\Software\Wine\GlobalMemory\TotalPhysMax = "2048"
fixes the Dragon NaturallySpeaking 7 installer.
Fixes bugs 10844 + 15708.
---
dlls/kernel32/heap.c | 51
+++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 50 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-kernel32-heap-Add-registry-caps-for-reported-memory.patch
Type: text/x-patch
Size: 3709 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110606/3cae6a44/attachment-0001.bin>
More information about the wine-patches
mailing list