Comment 1 for bug 1364404

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I can't seem to reproduce this on mako with just running calendar app and smemstat:ing it:

---
root@ubuntu-phablet:~# smemstat -p 3347 60
Change in memory (average per second):
  PID Swap USS PSS RSS User Command
  3347 0.0 B 1228.8 B 2133.3 B 1501.9 B phablet /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene
Total: 0.0 B 1228.8 B 2133.3 B 1501.9 B

  PID Swap USS PSS RSS User Command
Total: 0.0 B 0.0 B 0.0 B 0.0 B

  PID Swap USS PSS RSS User Command
Total: 0.0 B 0.0 B 0.0 B 0.0 B
---

What I did I booted (mako rtm 22 image), launched calendar app and let it be idle. I also tried waking up the device, putting the app to background and waiting. The biggest I could get after the initial start of the app was:

  PID Swap USS PSS RSS User Command
  3347 0.0 B 68.3 B 85.3 B 136.5 B phablet /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene
Total: 0.0 B 68.3 B 85.3 B 136.5 B

...when I switched it to background, after that 0 again. This was a 10 minute test.

If you can reliably reproduce the leaking, could you try using the instructions at https://wiki.ubuntu.com/Touch/QtTesting and try out Qt 5.3.1?

I searched through the 5.3.x point release git logs, and while there are a couple of leak fixes, there weren't any that would sound like happening when doing nothing. The most probable upstream source branches possibly containing fixes are the '5.3' ones (or '5.3.2' is currently as good) https://qt.gitorious.org/qt/qtbase/ and https://qt.gitorious.org/qt/qtdeclarative/, although note that the known leak we're hitting in bug #1201116 is in https://qt.gitorious.org/qt/qtxmlpatterns/ instead.