From 895e7127a8f9c2754c174bff930cc94a35cfdd06 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Mon, 26 Nov 2012 11:02:47 -0500 Subject: [PATCH] Bug 807998 - Turn on memory.free_dirty_pages in Fennec. r=jlebar --- mobile/android/app/mobile.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js index 33af782c1eea..487db1932d0b 100644 --- a/mobile/android/app/mobile.js +++ b/mobile/android/app/mobile.js @@ -667,3 +667,7 @@ pref("dom.event.touch.coalescing.enabled", false); // default orientation for the app, default to undefined // the java GeckoScreenOrientationListener needs this to be defined pref("app.orientation.default", ""); + +// On memory pressure, release dirty but unused pages held by jemalloc +// back to the system. +pref("memory.free_dirty_pages", true);