Bug 522060 - Increase IsLowMemory threshold WINCE only. r=blassey

--HG--
extra : rebase_source : 378b456f1770bc1960fc8e1416272068f3b9f921
This commit is contained in:
Doug Turner 2009-10-13 14:06:36 -07:00
parent 9c53d68e4b
commit 1b31380cc9

View File

@ -118,7 +118,7 @@ nsMemoryImpl::IsLowMemory(PRBool *result)
#if defined(WINCE)
MEMORYSTATUS stat;
GlobalMemoryStatus(&stat);
*result = (stat.dwMemoryLoad >= 80);
*result = (stat.dwMemoryLoad >= 98);
#elif defined(XP_WIN)
MEMORYSTATUSEX stat;
stat.dwLength = sizeof stat;