webapp-container leaks memory over time on #64

Bug #1326378 reported by Alan Pope 🍺🐧🐱 🦄
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
webbrowser-app (Ubuntu)
Fix Released
Critical
Unassigned

Bug Description

Open the G+ webapp, swipe away and leave it.

Monitoring memory usage on the device I see webapp-container climbing by about 1MiB / minute.

root@ubuntu-phablet:/home/phablet/logs# grep webapp-container *.txt
ps_2014-06-04-110020.txt: 37.4 MiB + 17.2 MiB = 54.6 MiB webapp-container
ps_2014-06-04-110625.txt: 38.0 MiB + 17.2 MiB = 55.2 MiB webapp-container
ps_2014-06-04-111231.txt: 38.0 MiB + 17.2 MiB = 55.2 MiB webapp-container
ps_2014-06-04-111836.txt: 38.1 MiB + 17.2 MiB = 55.3 MiB webapp-container
ps_2014-06-04-112442.txt: 38.1 MiB + 17.2 MiB = 55.3 MiB webapp-container
ps_2014-06-04-113047.txt: 38.1 MiB + 17.2 MiB = 55.3 MiB webapp-container
ps_2014-06-04-113653.txt: 42.4 MiB + 21.3 MiB = 63.7 MiB webapp-container
ps_2014-06-04-114259.txt: 48.0 MiB + 21.3 MiB = 69.3 MiB webapp-container
ps_2014-06-04-114905.txt: 53.7 MiB + 21.3 MiB = 75.0 MiB webapp-container
ps_2014-06-04-115511.txt: 59.4 MiB + 21.3 MiB = 80.7 MiB webapp-container
ps_2014-06-04-120116.txt: 65.0 MiB + 21.3 MiB = 86.4 MiB webapp-container
ps_2014-06-04-120722.txt: 70.7 MiB + 21.3 MiB = 92.0 MiB webapp-container
ps_2014-06-04-121328.txt: 76.4 MiB + 21.3 MiB = 97.7 MiB webapp-container
ps_2014-06-04-121934.txt: 82.1 MiB + 21.3 MiB = 103.4 MiB webapp-container
ps_2014-06-04-122540.txt: 87.8 MiB + 21.3 MiB = 109.1 MiB webapp-container
ps_2014-06-04-123145.txt: 93.4 MiB + 21.3 MiB = 114.8 MiB webapp-container
ps_2014-06-04-123751.txt: 99.1 MiB + 21.3 MiB = 120.4 MiB webapp-container
ps_2014-06-04-124357.txt:104.8 MiB + 21.3 MiB = 126.1 MiB webapp-container
ps_2014-06-04-125003.txt:110.5 MiB + 21.3 MiB = 131.8 MiB webapp-container
ps_2014-06-04-125609.txt:116.2 MiB + 21.3 MiB = 137.5 MiB webapp-container
ps_2014-06-04-130215.txt:121.8 MiB + 21.3 MiB = 143.1 MiB webapp-container
ps_2014-06-04-130820.txt:127.5 MiB + 21.3 MiB = 148.8 MiB webapp-container
ps_2014-06-04-131426.txt:133.2 MiB + 21.3 MiB = 154.5 MiB webapp-container
ps_2014-06-04-132032.txt:138.9 MiB + 21.3 MiB = 160.2 MiB webapp-container
ps_2014-06-04-132638.txt:144.5 MiB + 21.3 MiB = 165.9 MiB webapp-container
ps_2014-06-04-133244.txt:150.2 MiB + 21.3 MiB = 171.5 MiB webapp-container
ps_2014-06-04-133850.txt:155.9 MiB + 21.3 MiB = 177.2 MiB webapp-container
ps_2014-06-04-134456.txt:161.5 MiB + 21.3 MiB = 182.9 MiB webapp-container
ps_2014-06-04-135102.txt:167.2 MiB + 21.3 MiB = 188.5 MiB webapp-container
ps_2014-06-04-135708.txt:172.9 MiB + 21.3 MiB = 194.2 MiB webapp-container
ps_2014-06-04-140313.txt:178.5 MiB + 21.3 MiB = 199.9 MiB webapp-container
ps_2014-06-04-140919.txt:184.2 MiB + 21.3 MiB = 205.5 MiB webapp-container
ps_2014-06-04-141525.txt:189.9 MiB + 21.3 MiB = 211.2 MiB webapp-container
ps_2014-06-04-142131.txt:195.5 MiB + 21.3 MiB = 216.9 MiB webapp-container

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: webapp-container 0.23+14.10.20140526.1-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.3-0ubuntu1
Architecture: armhf
Date: Wed Jun 4 14:14:04 2014
InstallationDate: Installed on 2014-06-04 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140604)
SourcePackage: webbrowser-app
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
summary: - webapp-container leaks memory over time on #63
+ webapp-container leaks memory over time on #64
Changed in webbrowser-app (Ubuntu):
importance: Undecided → Critical
Revision history for this message
kevin gunn (kgunn72) wrote :

just adding reference to the thread happening on ubuntu-phone
https://lists.launchpad.net/ubuntu-phone/msg08406.html

recommending use of smemstat, which according to subsequent mails is actually in utopic archive (so ignore the bit about using ppa)

Revision history for this message
Olivier Tilloy (osomon) wrote :

Testing on krillin (image #67 from 14.09-proposed), I’m not observing this.

@Alan, can you still reproduce on mako with the latest image from utopic-proposed?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in webbrowser-app (Ubuntu):
status: New → Confirmed
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Looks okay now.
phablet@ubuntu-phablet:~/mem/logs$ grep webapp-container *.txt
2014-09-30-123155.txt: 26.2 MiB + 10.3 MiB = 36.6 MiB webapp-container
2014-09-30-123300.txt: 26.2 MiB + 10.3 MiB = 36.6 MiB webapp-container
2014-09-30-123404.txt: 26.2 MiB + 10.3 MiB = 36.6 MiB webapp-container
2014-09-30-123509.txt: 26.2 MiB + 10.3 MiB = 36.6 MiB webapp-container
2014-09-30-123613.txt: 26.2 MiB + 10.3 MiB = 36.6 MiB webapp-container
2014-09-30-123717.txt: 26.2 MiB + 10.3 MiB = 36.6 MiB webapp-container
2014-09-30-123823.txt: 26.2 MiB + 10.3 MiB = 36.6 MiB webapp-container
2014-09-30-123928.txt: 26.2 MiB + 10.3 MiB = 36.6 MiB webapp-container
2014-09-30-124034.txt: 26.2 MiB + 10.4 MiB = 36.6 MiB webapp-container
2014-09-30-124139.txt: 26.2 MiB + 10.4 MiB = 36.6 MiB webapp-container
2014-09-30-124244.txt: 26.2 MiB + 10.4 MiB = 36.6 MiB webapp-container
2014-09-30-124349.txt: 26.2 MiB + 10.4 MiB = 36.6 MiB webapp-container
2014-09-30-124455.txt: 26.2 MiB + 10.4 MiB = 36.6 MiB webapp-container

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks for testing again popey.

Changed in webbrowser-app (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.