Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: base/memory/memory_pressure_monitor_linux.cc

Issue 1257543004: Add oom tab killing and the about:discards page on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@memoryPressureOnLinux
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/memory_pressure_monitor_linux.cc
diff --git a/base/memory/memory_pressure_monitor_linux.cc b/base/memory/memory_pressure_monitor_linux.cc
index 7034e14b7cacd7ed9a327b9febb13a892d025c26..95fdec2e5e4bc7972affb6757a77ee69285d7a75 100644
--- a/base/memory/memory_pressure_monitor_linux.cc
+++ b/base/memory/memory_pressure_monitor_linux.cc
@@ -27,7 +27,7 @@ const int kModerateMemoryPressureCooldown =
// Threshold constants to emit pressure events.
const int kNormalMemoryPressureModerateThresholdPercent = 60;
-const int kNormalMemoryPressureCriticalThresholdPercent = 95;
+const int kNormalMemoryPressureCriticalThresholdPercent = 90;
// The possible state for memory pressure level. The values should be in line
// with values in MemoryPressureListener::MemoryPressureLevel and should be
« no previous file with comments | « no previous file | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698