Closed Bug 768015 Opened 12 years ago Closed 12 years ago

Override Toolkit and increase image.mem.max_decoded_image_kb to 250MB

Categories

(SeaMonkey :: Preferences, defect)

defect
Not set
normal

Tracking

(seamonkey2.11 wontfix, seamonkey2.12 fixed, seamonkey2.13 fixed, seamonkey2.14 verified)

VERIFIED FIXED
seamonkey2.14
Tracking Status
seamonkey2.11 --- wontfix
seamonkey2.12 --- fixed
seamonkey2.13 --- fixed
seamonkey2.14 --- verified

People

(Reporter: philip.chee, Assigned: tonymec)

References

Details

(Whiteboard: [good first bug][mentor=sgautherie][lang=prefs.js][level=trivial])

Attachments

(2 files)

From Firefox Bug 746055: > Unfortunately we can't make max_bytes_for_sync_decode much smaller without > breaking all our tests, so it sounds like for now, the right solution is to > increase max_decoded_image_kb -- that value was set unscientifically, anyway. From: https://hg.mozilla.org/mozilla-central/rev/ee415e3f509d +// 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 bug 746055.) +pref("image.mem.max_decoded_image_kb", 256000);
Our prefs file is: http://mxr.mozilla.org/comm-central/source/suite/browser/browser-prefs.js Ask neil@parkway or IanN as to where in this file the "image.mem.max_decoded_image_kb" goes.
(In reply to Philip Chee from comment #1) > Our prefs file is: > http://mxr.mozilla.org/comm-central/source/suite/browser/browser-prefs.js > Ask neil@parkway or IanN as to where in this file the > "image.mem.max_decoded_image_kb" goes. The current default is 51200. The prefs in that file are not in alphabetical order. None of them has (yet) a name beginning with "image.". OK, Ian, Neil, for the benefit of whoever will someday tackle this bug, where do you think the new line should go?
[#seamonkey] <NeilAway> tonymec: slap it in after mailnews.ui.deleteMarksRead I guess Patch coming soon.
Assignee: nobody → antoine.mechelynck
Status: NEW → ASSIGNED
Attached patch patch v0Splinter Review
Attachment #649134 - Flags: ui-review?(neil)
Attachment #649134 - Flags: superreview?(mnyromyr)
Attachment #649134 - Flags: review?(iann_bugzilla)
Attachment #649134 - Flags: feedback?(sgautherie.bz)
Comment on attachment 649134 [details] [diff] [review] patch v0 Not my area of experience, sorry.
Attachment #649134 - Flags: ui-review?(neil)
Attachment #649134 - Flags: ui-review?
Attachment #649134 - Flags: superreview?(neil)
Attachment #649134 - Flags: superreview?(mnyromyr)
Attachment #649134 - Flags: ui-review?
Attachment #649134 - Flags: review?(iann_bugzilla) → review+
Attachment #649134 - Flags: superreview?(neil) → superreview+
This patch has no l10n impact and is supposed to give better performance; but I don't know how to test the latter (bake on trunk and look at Talos? How not to mix this fix's results with results for the preceding or following commit?) Shall it be ported to Aurora? to Beta? and when?
Keywords: checkin-needed
From Bug 746055 Comment 12: > Effectively back out bug 732820 by setting max decoded image kb to 250MB; I'd rather be > conservative here. (See also bug 744309.) This essentially fixes a performance regression so I would expect no downsize. This landed in Firefox 14 So we would need to land this on SeaMonkey 2.11 soonish before the final beta. CC Callek, Opinion please?
(In reply to Philip Chee from comment #7) > This landed in Firefox 14 So we would need to land this on SeaMonkey 2.11 > soonish before the final beta. 2.11 has been released already. ;-) ITYM 2.12.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.14
Comment on attachment 649134 [details] [diff] [review] patch v0 [Triage Comment] Okay for comm-aurora, I'll let Callek decide on comm-beta
Attachment #649134 - Flags: approval-comm-aurora+
NB. Patch v0 applies cleanly (ATM) on aurora but not on beta. I'm not requesting a? until at least one trunk build is out with the fix. Callek: feel free to set a-, it'll have been a good exercise about Mercurial queues anyway.
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0 SeaMonkey/2.14a1 ID:20120807135517 c-c:0fed583977b2 m-c:e55638d4037a The default for image.mem.max_decoded_image_kb is now 256000. Does that mean the fix is VERIFIED or is there something else which should be tested?
from #seamonkey: > tonymec> Callek: bug 746055 was fixed 2012-04-23 in mozilla14 which IIUC is now beta. (don't know if you saw it before being pinged out) > Callek> tonymec: so how long has it baked for us? > Callek> and is it the same pref value for us and Firefox? > tonymec> Callek: about one week, which wasn't all green, and it is indeed the same pref name & value. > Callek> tonymec: my opinion here is "land it on beta asap" Firefox has had much longer testing cycle, and we have had a few nights worth, we'll get larger testing/confidence if we can get our next beta out with it than if we were to wait an extra week.
Keywords: checkin-needed
Whiteboard: [good first bug][mentor=sgautherie][lang=prefs.js][level=trivial] → [c-n: v0 to aurora][good first bug][mentor=sgautherie][lang=prefs.js][level=trivial]
Comment on attachment 649822 [details] [diff] [review] patch v1 (unbitrotted for beta) [Approval Request Comment] Bug caused by (feature/regressing bug #): same as Firefox bug 746055 User impact if declined: performance hit on images Testing completed (on m-c, etc.): m-c since April, c-c one week Risk to taking this patch (and alternatives if risky): minimal (default change for one single pref) String or UUID changes made by this patch: none
Attachment #649822 - Flags: superreview?(neil)
Attachment #649822 - Flags: review?(iann_bugzilla)
Attachment #649822 - Flags: approval-mozilla-beta?
Comment on attachment 649822 [details] [diff] [review] patch v1 (unbitrotted for beta) [Approval Request Comment] Regression caused by (bug #): User impact if declined: Testing completed (on m-c, etc.): Risk to taking this patch (and alternatives if risky): String changes made by this patch: see above, I had set wrong flag.
Attachment #649822 - Flags: approval-mozilla-beta? → approval-comm-beta?
Attachment #649822 - Flags: superreview?(neil)
Attachment #649822 - Flags: review?(iann_bugzilla)
Attachment #649822 - Flags: review+
Attachment #649822 - Flags: approval-comm-beta?
Attachment #649822 - Flags: approval-comm-beta+
Keywords: checkin-needed
Whiteboard: [c-n: v0 to aurora][good first bug][mentor=sgautherie][lang=prefs.js][level=trivial] → [good first bug][mentor=sgautherie][lang=prefs.js][level=trivial]
Ryan: That was fast! Thanks a lot. :-)
Target Milestone: seamonkey2.14 → seamonkey2.12
Target Milestone: seamonkey2.12 → seamonkey2.14
(In reply to Tony Mechelynck [:tonymec] from comment #13) > The default for image.mem.max_decoded_image_kb is now 256000. Does that mean > the fix is VERIFIED or is there something else which should be tested? To verify this bug, just compare about:config before/after this patch.
Attachment #649134 - Flags: feedback?(sgautherie.bz) → feedback+
(In reply to Serge Gautherie (:sgautherie) from comment #19) > (In reply to Tony Mechelynck [:tonymec] from comment #13) > > The default for image.mem.max_decoded_image_kb is now 256000. Does that mean > > the fix is VERIFIED or is there something else which should be tested? > > To verify this bug, just compare about:config before/after this patch. OK, it's VERIFIED then. I checked about:config in trunk, anyone who wants to load a current Aurora or Beta build to check its about:config may do so, but there's no urgent need for it.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: