Open Bug 933814 (fennec-mem) Opened 6 years ago Updated 10 months ago
[meta] Memory usage improvements
We should be taking regular HPROF dumps of Firefox in use, watching for patterns like redundant strings in memory, leaks, etc.
Depends on: 963863
Depends on: 963873
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: 1175321
Depends on: 1286698
You need to log in before you can comment on or make changes to this bug.