← Back to team overview

ubuntu-sdk-bugs team mailing list archive

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

 

[Expired for ubuntu-ui-toolkit (Ubuntu) because there has been no
activity for 60 days.]

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

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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 Ubuntu Weather App:
  Invalid
Status in ubuntu-ui-toolkit package in Ubuntu:
  Expired

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