might be bug 10844, the avail pagefile value returned by GlobalMemoryStatus could be too large a workaround is modifying the pe header to change the subsystem version to 3 and wine will report smaller values. either look at what's happening with winedbg or try the workaround to confirm it is the same issue.