Changeset 216772 in webkit
- Timestamp:
- May 12, 2017 11:48:07 AM (7 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r216763 r216772 1 2017-05-12 Andreas Kling <akling@apple.com> 2 3 More aggressive memory kill limits. 4 https://bugs.webkit.org/show_bug.cgi?id=172037 5 <rdar://problem/31969082> 6 7 Reviewed by Michael Saboff. 8 9 Bring down the memory kill limits to 4GB for active processes, and 2GB for inactive. 10 Also make MemoryUsagePolicy::Strict kick in above 1.5GB. 11 12 * wtf/MemoryPressureHandler.cpp: 13 (WTF::MemoryPressureHandler::thresholdForMemoryKill): 14 (WTF::thresholdForPolicy): 15 1 16 2017-05-12 Michael Saboff <msaboff@apple.com> 2 17 -
trunk/Source/WTF/wtf/MemoryPressureHandler.cpp
r215055 r216772 80 80 #if CPU(X86_64) || CPU(ARM64) 81 81 if (m_processState == WebsamProcessState::Active) 82 return 16* GB;83 return 4* GB;82 return 4 * GB; 83 return 2 * GB; 84 84 #else 85 85 return 3 * GB; … … 93 93 return 1 * GB; 94 94 case MemoryUsagePolicy::Strict: 95 return 2* GB;95 return 1.5 * GB; 96 96 case MemoryUsagePolicy::Unrestricted: 97 97 default:
Note: See TracChangeset
for help on using the changeset viewer.