the longer epiphany works the more memory it consumes (a memory leak?)

Bug #1042075 reported by Ivan Zakharyaschev on 2012-08-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Epiphany Browser
epiphany-browser (Ubuntu)

Bug Description

I'm concerned with how much memory is used in my Ubuntu 12.04 system on Toshiba AC100 because there is little RAM.

Epiphany works quite fast on my system, but I have noticed that a lot of memory was consumed after I left Gmail open in Epiphany over a night.

Perhaps, there is a memory leak?

So, I made an observation over Epiphany's memory consumption (with a simple script that printed how much memory the processes consume every 5 minutes -- or -- it runs "ps"):

after Epiphany launched, I opened Gmail in it (the main page, with the index of my messages) and didn't touch it for about a day.

The data of my observations are saved in . (They also should be visible in , but, unfortunately, the import of this non-HEAD branch into Launchpad didn't work correctly -- ).

In the beginning, the state was like this (it's the output of "ps --sort -vsize -o comm,vsize,size,rss"):

Mon Jul 30 16:19:50 VLAT 2012
epiphany-browse 21476 224 568
bash 6248 2496 3748
ps-memstat 3680 244 1092
ps 1872 632 668
head 1388 296 416
Mon Jul 30 16:24:50 VLAT 2012
epiphany-browse 323568 243108 51116
bash 6248 2496 80
ps-memstat 3680 244 404
tail 2980 300 156
ps 1872 632 668
head 1388 296 416

In the end:

Wed Aug 1 14:00:27 VLAT 2012
epiphany-browse 381232 300772 55976
bash 6248 2496 0
ps-memstat 3728 292 380
tail 2980 300 96
ps 1872 632 672
head 1388 296 416

So, the consumed virtual memory increased by 60Mb or so.

More info: disk cache is disabled in my Epiphany (not to cause load on my flash harddrive). I'd also like to give up swap, but that's not realistic yet to run programs without swap, because they tend to consume more and more memory (like in the reported case of Epiphany).

I also have a feeling that the Midori process similarly grows constantly in size if it is left with Gmail opened for a while (a night).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: epiphany-browser 3.4.1-0ubuntu1
Uname: Linux 3.0.27-1-ac100 armv7l
ApportVersion: 2.0.1-0ubuntu11
Architecture: armhf
Date: Mon Aug 27 16:52:19 2012
SourcePackage: epiphany-browser
UpgradeStatus: No upgrade log present (probably fresh install)

Ivan Zakharyaschev (imz) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers