Bug 1381804 - Disable process prelaunch while activity-stream is enabled. r?mconley draft
authorEd Lee <edilee@mozilla.com>
Tue, 18 Jul 2017 08:44:46 -0700
changeset 610628 4cda8f1ea2e3fdbb66dd633510b7fe696405dde4
parent 610536 8ff4f17b266db9a780efe06f7fbdae629e49f5bc
child 637919 b3e1f9119d69285d258b4d8cdf3c94c56f6e38ff
push id68959
push userbmo:edilee@mozilla.com
push dateTue, 18 Jul 2017 15:47:09 +0000
reviewersmconley
bugs1381804
milestone56.0a1
Bug 1381804 - Disable process prelaunch while activity-stream is enabled. r?mconley MozReview-Commit-ID: A8jhrGAAxh8
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1622,17 +1622,23 @@ pref("toolkit.pageThumbs.minHeight", 190
 
 // Enable speech synthesis
 pref("media.webspeech.synth.enabled", true);
 
 pref("browser.esedbreader.loglevel", "Error");
 
 pref("browser.laterrun.enabled", false);
 
+// Disable prelaunch in the same way activity-stream is enabled addressing
+// bug 1381804 memory usage until bug 1376895 is fixed.
+#ifdef NIGHTLY_BUILD
+pref("dom.ipc.processPrelaunch.enabled", false);
+#else
 pref("dom.ipc.processPrelaunch.enabled", true);
+#endif
 
 #ifdef EARLY_BETA_OR_EARLIER
 pref("browser.migrate.automigrate.enabled", true);
 #else
 pref("browser.migrate.automigrate.enabled", false);
 #endif
 // 4 here means the suggestion notification will be automatically
 // hidden the 4th day, so it will actually be shown on 3 different days.