Report swap file total/free sizes to be the same as physical memory

Andreas Mohr andi at rhlx01.fht-esslingen.de
Tue Aug 16 10:07:28 CDT 2005


Hi,

On Tue, Aug 16, 2005 at 11:49:34PM +0900, Dmitry Timoshkov wrote:

+    /* Project2k refuses to start if it sees less than 1Mb of free swap */
+    if (lpmemex->ullTotalPageFile < lpmemex->ullTotalPhys)
+        lpmemex->ullTotalPageFile = lpmemex->ullTotalPhys;
+    if (lpmemex->ullAvailPageFile < lpmemex->ullAvailPhys)
+        lpmemex->ullAvailPageFile = lpmemex->ullAvailPhys;

1 mega*bit* sounds a "bit" small...

Andreas Mohr



More information about the wine-devel mailing list