[Bug 7441] GlobalMemoryStatus 2GB limiting results in failure of virtual > physical memory checks

Wine Bugs wine-bugs at winehq.org
Thu Feb 15 15:03:49 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=7441





------- Additional Comments From lordhavoc at ghdigital.com  2007-15-02 15:03 -------
Actually a clarification I just realized after posting...

0009:trace:heap:GlobalMemoryStatusEx <-- LPMEMORYSTATUSEX: dwLength 64,
dwMemoryLoad 1292239575, ullTotalPhys 7dbb7000, ullAvailPhys 2ef6e000,
ullTotalPageFile 7dbb7000, ullAvailPageFile fe763000, ullTotalVirtual 7ffdffff,
ullAvailVirtual 7ffcffff

This shows that my totalphys is less than 2GB, so it is not being limited
(however what I suggested still applies, for machines with >2GB physical
memory), however TotalPageFile is being incorrectly reported as the same as
TotalPhys, which causes the check to fail.  Surely should be more than 2GB, as I
have 8GB of swap.

So I still suggest the TotalPhys limiting, but in this case the problem is an
incorrect value for TotalPageFile.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list