Memory leak in clock 395 on #302 mako
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Running 1.0.395 on #302. I don't know if this is a bug in clock or somewhere deeper..
I enable ssh on my phone
adb shell setprop persist.service.ssh true
adb reboot
Then ssh in and ran a script:-
#!/bin/bash
while :
do
/home/
sleep 360
done
Which calls a python script every 5 mins:-
https:/
It logs memory usage to a file.
I rebooted the phone, started the clock and left it alone. I saw memory usage rise by ~4MB/min:-
grep -h *.txt
Private + Shared = RAM used Program
18.7 MiB + 6.3 MiB = 25.1 MiB qmlscene
41.7 MiB + 6.4 MiB = 48.0 MiB qmlscene
66.8 MiB + 6.4 MiB = 73.2 MiB qmlscene
92.0 MiB + 6.4 MiB = 98.3 MiB qmlscene
117.1 MiB + 6.4 MiB = 123.5 MiB qmlscene
134.6 MiB + 6.4 MiB = 141.0 MiB qmlscene
Have attached the logs to this bug.
Changed in ubuntu-clock-app: | |
milestone: | none → 2.2 |
Changed in ubuntu-clock-app: | |
status: | New → Invalid |
I was testing the alarm functionality so it's possible I left it on the alarm screen when the screen autolocked.
ps_2014- 04-17-154016. txt: 18.7 MiB + 6.3 MiB = 25.1 MiB qmlscene 04-17-154621. txt: 41.7 MiB + 6.4 MiB = 48.0 MiB qmlscene 04-17-155226. txt: 66.8 MiB + 6.4 MiB = 73.2 MiB qmlscene 04-17-155831. txt: 92.0 MiB + 6.4 MiB = 98.3 MiB qmlscene 04-17-160435. txt:117. 1 MiB + 6.4 MiB = 123.5 MiB qmlscene
ps_2014-
ps_2014-
ps_2014-
ps_2014-
At this point I unlocked the phone and the clock app showed the clock face (not alarms).
ps_2014- 04-17-161040. txt:134. 6 MiB + 6.4 MiB = 141.0 MiB qmlscene
However I left the phone to lock itself again, but now, the memory consumption hasn't climbed further.
ps_2014- 04-17-161645. txt:134. 6 MiB + 6.4 MiB = 141.0 MiB qmlscene 04-17-162249. txt:134. 6 MiB + 6.4 MiB = 141.0 MiB qmlscene
ps_2014-