After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344259 - Totem leaks a lot of memory when looping files
Totem leaks a lot of memory when looping files
Status: RESOLVED DUPLICATE of bug 347304
Product: totem
Classification: Core
Component: GStreamer backend
1.5.x
Other Linux
: Normal major
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
Depends on:
Blocks:
 
 
Reported: 2006-06-08 09:13 UTC by Fabio Bonelli
Modified: 2006-07-13 13:39 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Fabio Bonelli 2006-06-08 09:13:58 UTC
Totem from CVS, GStreamer 0.10.6:

- Start totem:
6436 fabio     16   0 58136  19m  11m S  8.9  5.2   0:03.58 totem

- Play a video:
6436 fabio     15   0  162m  65m  35m S 30.3 17.5   0:11.99 totem

- Wait for the video to loop or press Next
6436 fabio     15   0  193m  89m  57m S 29.6 23.7   0:31.94 totem

- Next again
6436 fabio     15   0  215m 110m  79m S 30.5 29.4   0:43.25 totem

- Again
6436 fabio     15   0  237m 132m 101m S 28.9 35.1   0:54.58 totem

And so on. The same thing happens also when you play another file by double-clicking or drag and dropping within nautilus.
Comment 1 Fabio Bonelli 2006-06-08 09:16:06 UTC
And debugging output doesn't say much.

$ totem --debug

(totem:6436): libglade-WARNING **: Error loading image: Apertura del file «/usr/local/share/totem/media-player-48.png» fallita: Nessun file o directory

(totem:6436): libglade-WARNING **: could not convert string to type `GdkPixbuf' for property `icon'
Fontconfig error: "conf.d", line 1: no element found

(totem:6436): libglade-WARNING **: Error loading image: Apertura del file «/usr/local/share/totem/media-player-48.png» fallita: Nessun file o directory

(totem:6436): libglade-WARNING **: could not convert string to type `GdkPixbuf' for property `icon'

(totem:6436): libglade-WARNING **: Error loading image: Apertura del file «/usr/local/share/totem/media-player-48.png» fallita: Nessun file o directory

(totem:6436): libglade-WARNING **: could not convert string to type `GdkPixbuf' for property `icon'
** Message: Couldn't initialize lirc.
Comment 2 Tim-Philipp Müller 2006-06-12 14:29:58 UTC
With current CVS of core/base (=0.10.8) I can't reproduce the increase in RES and SHR memory, but VIRT indeed does increase steadily (and sometimes rapidly).


When filesrc is used for local files (which is the case with core >= 0.10.7 I believe) it also appears the file descriptors for the previous files are never closed, which indicates a buffer refcounting problem somewhere, esp. since that effect doesn't occur with gnomevfssrc (so the fd is kept open because there's still an mmap'ed buffer alive).

VIRT memory usage can also be made to go up quite a bit when seeking.
Comment 3 Jan Schmidt 2006-07-13 13:39:42 UTC

*** This bug has been marked as a duplicate of 347304 ***