[B2G] Lower image.mem.max_decoded_image_kb

RESOLVED FIXED

Status

defect
RESOLVED FIXED
7 years ago
7 years ago

People

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

Tracking

unspecified
ARM
Linux

Firefox Tracking Flags

(blocking-basecamp:+, firefox18 fixed)

Details

(Whiteboard: [MemShrink])

Attachments

(1 attachment)

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.
Posted 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)

Updated

7 years ago
Assignee: nobody → justin.lebar+bug
Attachment #672476 - Flags: review?(joe) → review+
(Assignee)

Updated

7 years ago
Whiteboard: [MemShrink]
https://hg.mozilla.org/mozilla-central/rev/bd5e49f6d2fa
Status: NEW → RESOLVED
Last Resolved: 7 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.