"Johann "Myrkraverk" Oskarsson" johann@myrkraverk.com writes:
Hi all,
Out of sheer curiousity, why is it important to reserve space below 2G when there is no preloader?
Patch 1aa749d, is
libwine: Reserve some low memory space even without a preloader.
has the comment:
/* if we don't have a preloader, try to reserve some space below 2Gb */
and is the regression for bug 22033.
http://bugs.winehq.org/show_bug.cgi?id=22033
I will be trying to determine the excact cause of the bug later.
It's needed for apps that look for free space before allocating, instead of simply accepting the VirtualAlloc return value. .NET is the main offender.