Closed
Bug 668634
Opened 13 years ago
Closed 12 years ago
Discard decoded images in foreground tab on memory pressure
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: justin.lebar+bug, Unassigned)
References
Details
(Whiteboard: [MemShrink:P2])
Split off from bug 666317 comment 9: Bug 666317 makes us discard images in background tabs when we receive a memory-pressure notification. We might also want to discard images in the foreground tab, because: * Android fires a memory-pressure notification when the app goes into the background. * A page might have many large images on one tab. To plagiarize myself: On desktop, if memory is low, we will fire low-memory notifications once a second. Surely we don't want to drop all images and re-decode those in the viewport once a second, especially if we're paging and already running slowly. Optimally, we'd discard all images except those in the viewport, but my understanding is that this is currently hard to do. We could do something like drop foreground images on the first memory-pressure call within 60s, but then only drop background images on other memory-pressure notifications.
Whiteboard: [MenShrink] → [MemShrink]
Updated•13 years ago
|
Whiteboard: [MemShrink] → [MemShrink:P2]
Comment 2•12 years ago
|
||
The bugs depending on bug 689623 are likely to be much more effective for this kind of thing.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•