Bug 623072 - Reduce JSGC_MAX_MALLOC_BYTES usage. Note this change will slow some benchmarks down, but will overall make us use less memory. r=mfinkle
authorDoug Turner <dougt@dougt.org>
Thu, 06 Jan 2011 09:19:48 -0800
changeset 2602 8d55cbf030a4bcde7f994c4b410a559c232cc58f
parent 2601 fc6324882e5427f6bcf192df668e6b18cf68b012
child 2603 9cb17d754de0ad25cf61121cd058fb95d8fa1e49
push id2182
push userdougt@mozilla.com
push dateThu, 06 Jan 2011 17:31:51 +0000
reviewersmfinkle
bugs623072
Bug 623072 - Reduce JSGC_MAX_MALLOC_BYTES usage. Note this change will slow some benchmarks down, but will overall make us use less memory. r=mfinkle
app/mobile.js
--- a/app/mobile.js
+++ b/app/mobile.js
@@ -354,16 +354,17 @@ pref("geo.enabled", true);
 // content sink control -- controls responsiveness during page load
 // see https://bugzilla.mozilla.org/show_bug.cgi?id=481566#c9
 pref("content.sink.enable_perf_mode",  2); // 0 - switch, 1 - interactive, 2 - perf
 pref("content.sink.pending_event_mode", 0);
 pref("content.sink.perf_deflect_count", 1000000);
 pref("content.sink.perf_parse_time", 50000000);
 
 pref("javascript.options.mem.gc_frequency", 300);
+pref("javascript.options.mem.high_water_mark", 32);
 pref("javascript.options.methodjit.chrome", false);
 
 pref("dom.max_chrome_script_run_time", 0); // disable slow script dialog for chrome
 pref("dom.max_script_run_time", 20);
 
 // JS error console
 pref("devtools.errorconsole.enabled", false);