Closed Bug 997581 Opened 11 years ago Closed 11 years ago

loading call log in dialer for the first time kills the homescreen app or triggers memory pressure

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dbaron, Unassigned)

Details

(Keywords: memory-footprint, perf, Whiteboard: [c=memory p= s= u=])

I'm using a self-built master build on a hamachi (256MB), most recently updated on Monday of this week (April 14). I have profile data going back over a little more than a year, so I have a decent-sized call log, though nothing I can't scroll through in 30 seconds. Steps to reproduce: 1. hold down the home button to show the app switcher 2. close the Phone app (dialer) if it's running 3. click on the phone icon on the homescreen 4. switch to the call log tab 5. tap the home button to return to the homescreen Actual results: Homescreen takes a few seconds to show up because it's been killed, presumably due to low memory Expected results: Switching to the call log shouldn't use enough memory to kill the homescreen. This started happening for me on master about 1-2 weeks ago. I'm not sure if that's because there was a regression, or if the size of my call history just went past some threshold.
Actually, doing this: while true; do adb shell b2g-info; sleep 0.2; done shows we're not actually killing the homescreen. Fabrice suggests maybe we're sending memory pressure notifications and discarding images, and then it takes time for the homescreen to come back from it.
Summary: loading call log in dialer for the first time kills the homescreen app → loading call log in dialer for the first time kills the homescreen app or triggers memory pressure
Have you tried reproducing this issue using the gaia reference workloads? We might have introduce a significant memory regression if the call log alone is capable of pushing an Hamachi into a low memory condition.
Keywords: perf
Priority: -- → P2
Whiteboard: [c=memory p= s= u=]
This issue is not reproducible anymore on the Flame 319MB. The homescreen doesn't get OOMed while we are in the Dialer.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.