Closed Bug 802777 Opened 13 years ago Closed 13 years ago

[B2G] Lower image.mem.max_decoded_image_kb

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Linux
defect
Not set
normal

Tracking

(blocking-basecamp:+, firefox18 fixed)

RESOLVED FIXED
blocking-basecamp +
Tracking Status
firefox18 --- fixed

People

(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)

References

Details

(Whiteboard: [MemShrink])

Attachments

(1 file)

image.mem.max_decoded_image_kb tracks the amount of decoded image data we "willingly" keep around. Even if you set this value to 0, we often unwillingly keep around a lot more than this. For example, all images on a page are always decoded (bug 689623). But if we're using more than image.mem.max_decoded_image_kb memory for decoded image data and we are able to throw any of our decoded data, we'll do so.
Attached patch Patch, v1Splinter Review
Attachment #672476 - Flags: review?(joe)
I can't ask for approval-aurora on patches in the b2g component, so I guess I have to ask for blocking.
blocking-basecamp: --- → ?
Assignee: nobody → justin.lebar+bug
Attachment #672476 - Flags: review?(joe) → review+
Whiteboard: [MemShrink]
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
blocking-basecamp: ? → +
(In reply to Justin Lebar [:jlebar] from comment #0) > Even if you set this value to 0, we often unwillingly keep around a lot more > than this. For example, all images on a page are always decoded (bug > 689623). Doesn't pref("content.image.allow_locking", false); on b2g mean this isn't true for b2g?
(In reply to Timothy Nikkel (:tn) from comment #6) > (In reply to Justin Lebar [:jlebar] from comment #0) > > Even if you set this value to 0, we often unwillingly keep around a lot more > > than this. For example, all images on a page are always decoded (bug > > 689623). > > Doesn't pref("content.image.allow_locking", false); on b2g mean this isn't > true for b2g? Correct.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: