touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #18821
[Bug 1364368] Re: Something has a memory leak
There's also already bug #1364404 "qmlscene is leaking ~1.7K per second
on an idle application on the phone".
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to maliit-framework in
Ubuntu.
https://bugs.launchpad.net/bugs/1364368
Title:
Something has a memory leak
Status in QT Ubuntu Sensors:
New
Status in “maliit-framework” package in Ubuntu:
New
Bug description:
I've tracked memory utilisation of maliit-server over a 12 hour period
and can see that the heap is growing at about 1700 bytes a second.
One can see this by strac'ing the process and seeing glib's malloc
performing 4K mprotects every ~2.4 seconds and the occasional 1MB
mmap2 to anonymous memory (aka heap) every 600-620 seconds.
[pid 2708] 12:48:57 mprotect(0xa01fa000, 4096, PROT_READ|PROT_WRITE) = 0
[pid 2708] 12:48:59 mprotect(0xa01fb000, 4096, PROT_READ|PROT_WRITE) = 0
[pid 2708] 12:49:02 mprotect(0xa01fc000, 4096, PROT_READ|PROT_WRITE) = 0
[pid 2708] 12:49:04 mprotect(0xa01fd000, 4096, PROT_READ|PROT_WRITE) = 0
[pid 2708] 12:49:07 mprotect(0xa01fe000, 4096, PROT_READ|PROT_WRITE) = 0
[pid 2708] 12:49:09 mprotect(0xa01ff000, 4096, PROT_READ|PROT_WRITE) = 0
[pid 2708] 12:49:11 mmap2(0xa0200000, 1048576, PROT_NONE, MAP_PRIVATE|MAP_ANONY
MOUS|MAP_NORESERVE, -1, 0) = 0xa0200000
[pid 2708] 12:49:11 mprotect(0xa0200000, 135168, PROT_READ|PROT_WRITE) = 0
Over a period of 1 day this will leak 140MB.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qtubuntu-sensors/+bug/1364368/+subscriptions
References