Bug 807998 - Turn on memory.free_dirty_pages in Fennec. r=jlebar
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 26 Nov 2012 11:02:47 -0500
changeset 114115 491736c9cddc9ce29f477933c9663abcabd98cd8
parent 114114 47465b730696ac40a29c73763a23c7b1a121efe9
child 114116 57e1c40c89c5de3e02f15ef3c15f9b30968a1ce0
push id23906
push userryanvm@gmail.com
push dateTue, 27 Nov 2012 01:52:32 +0000
treeherdermozilla-central@1489b6c2d1d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlebar
bugs807998
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 807998 - Turn on memory.free_dirty_pages in Fennec. r=jlebar
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -662,8 +662,12 @@ pref("media.plugins.enabled", true);
 pref("media.stagefright.omxcodec.flags", 0);
 
 // Coalesce touch events to prevent them from flooding the event queue
 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);