Closed Bug 933814 (fennec-mem) Opened 11 years ago Closed 3 years ago

[meta] Memory usage improvements

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: rnewman, Unassigned)

References

Details

(Keywords: meta)

We should be taking regular HPROF dumps of Firefox in use, watching for patterns like redundant strings in memory, leaks, etc.
Depends on: 933992
Depends on: 962968
Depends on: 1039902
Depends on: 1041616
Blocks: 1106827
I took a recent memory dump on a Nexus 9.

Notable culprits:

* We have 4.5MB of Resources in memory at all times. This is almost entirely Bitmaps. We need fewer bitmaps.

* Each tab holds a 650KB thumbnail as a Bitmap (as well as the BitmapDrawable itself). This is insane. If we must hold on to a thumbnail, make it a PNG or something, and create the Bitmap when necessary.

* The Picasso LRU cache is 200KB. We should flush this aggressively on memory pressure events.
Depends on: 1116349
Depends on: 1116350
Depends on: 1116351
Depends on: 1128561
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.