← Back to team overview

touch-packages team mailing list archive

[Bug 1221153] Re: ubuntu-weather-app is polling poll() at 15Hz and heap is growing at 1K/sec on idle

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1221153

Title:
  ubuntu-weather-app is polling poll() at 15Hz and heap is growing at
  1K/sec on idle

Status in Ubuntu UI Toolkit:
  Incomplete
Status in Weather application for Ubuntu devices:
  Triaged
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Incomplete

Bug description:
  On an idle phone, the ubuntu-weather-app is polling poll() at 15Hz.
  Also, I am observing heap growth at about 1K/sec.

  CPU usage:
    PID  Process                USR%   SYS%  TOTAL%
    3177 qmlscene               0.24   0.48   0.72 (very light load)

  System calls traced:
    PID  Process              Syscall               Count    Rate/Sec
    3177 qmlscene             poll                   8991      14.9849

  Change in memory (K/second):
    PID  Process              Type        Size       RSS       PSS
    3177 qmlscene             Heap        1.71      1.20      1.20 (growing)

  So it's not entirely idle and consuming power when doing apparently
  nothing.   The heap growth is observable from the the /proc/3177/smaps
  information, however, I can't see any obvious sbrk()/brk() or mmap()
  calls, so it is curious how this is occurring.

  Observation: I am noticing this with all application which are
  launched using qmlscene and suspect it could be qmlscene which is
  leaking memory. The symtoms that I see are laggy UI when leaving a
  qmlscene app launched for several hours while on suspend.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1221153/+subscriptions