Bug 768015 - Override Toolkit and increase image.mem.max_decoded_image_kb to 250MB. r=IanN, sr=neil
authorTony Mechelynck [:tonymec] <antoine.mechelynck@gmail.com>
Tue, 07 Aug 2012 16:44:16 -0400
changeset 13217 2bd3eb8ed976de635185cab73efe34a154d65e83
parent 13216 914c29a1a1e33a7d4d1c283fd49a5874572b7564
child 13218 2ffbab67153f34b45f95167d3e297577cc48b954
push idunknown
push userunknown
push dateunknown
reviewersIanN, neil
bugs768015
Bug 768015 - Override Toolkit and increase image.mem.max_decoded_image_kb to 250MB. r=IanN, sr=neil
suite/browser/browser-prefs.js
--- a/suite/browser/browser-prefs.js
+++ b/suite/browser/browser-prefs.js
@@ -316,16 +316,21 @@ pref("browser.formfill.expire_days",    
 
 pref("mail.biff.alert.show_preview", true);
 pref("mail.biff.alert.show_subject", true);
 pref("mail.biff.alert.show_sender",  true);
 pref("mail.biff.alert.preview_length", 40);
 
 pref("mailnews.ui.deleteMarksRead", true);
 
+// The maximum amount of decoded image data we'll willingly keep around (we
+// might keep around more than this, but we'll try to get down to this value).
+// (This is intentionally on the high side; see bugs 746055 and 768015.)
+pref("image.mem.max_decoded_image_kb", 256000);
+
 pref("spellchecker.dictionaries.download.url", "chrome://branding/locale/brand.properties");
 
 // this will automatically enable inline spellchecking (if it is available) for
 // editable elements in HTML
 // 0 = spellcheck nothing
 // 1 = check multi-line controls [default]
 // 2 = check multi/single line controls
 pref("layout.spellcheckDefault", 1);