Memory for videos not freed

Bug #1153772 reported by ManDay
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Midori Web Browser
Incomplete
Undecided
Unassigned

Bug Description

Perhaps this is something in gstreamer or webkit, but I've noticed that midori doesn't free the memory taken for HTML5 videos on youtube, even after the video is closed (tab is closed or new address is loaded). Needless to mention, after watching a few longer videos midori first takes over most of my memory and then slowly starts claiming all my swap space, too.

Tags: memory
Revision history for this message
gue5t gue5t (gue5t) wrote :

Trying this on a local video it definitely doesn't leak, as I can watch e.g. several-gigabyte movies in the <video> element. I'll try some more scenarios such as a local webserver and youtube soon.

Revision history for this message
gue5t gue5t (gue5t) wrote :

Testing some more, it looks like memory is leaked but not as catastophically as I was expecting. midori --plain does it even with file:// videos, so it looks like a webkit bug unfortunately.

Revision history for this message
veyvr (chris-std) wrote :

This should be a upstream bug, see https://bugs.webkit.org/show_bug.cgi?id=109350
According to Philippe Normand (GTK/WebKit developer) this should be fixed in more recent versions of webkitgtk (version 1.12+). I can not currently test that, maybe someone else can.

Revision history for this message
ManDay (manday) wrote :

I can, and Webkit (aka MemoryleakKit and RegressionKit) hasn't improved an inch since I last checked. Unsurprisingly, given how little attention these guys pay to quality assurance. Anyway, agreed, upstream. I wouldn't get my hopes up that this will be fixed within our lifetime. Webkit's official slogan is "if we ignore it, it's fine".

Cody Garver (codygarver)
Changed in midori:
status: New → Incomplete
tags: added: memory
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.