Displaying 1 result from an estimated 1 matches for "user_space_limit".
2008 Aug 21
0
Wine memory bug with patch?
...g from what I've read in the forums that Wine reserves 1GB for Linux and can't allocate more than 3GB for Windows programs without a patch. I replaced
"dlls/ntdll/virtual.c"
# define ADDRESS_SPACE_LIMIT ((void *)0xc0000000) /* top of the total available address space */
# define USER_SPACE_LIMIT ((void *)0x7fff0000) /* top of the user address space */
with
# define ADDRESS_SPACE_LIMIT 0 /* no limit needed on other platforms */
# define USER_SPACE_LIMIT 0 /* no limit needed on other platforms */
When I compile something without this patch, Wine seems to use the Linux swapfile be...