GNOME Bugzilla – Bug 334825
Totem use 100 Mo to load totem_logo.png
Last modified: 2006-03-18 13:05:20 UTC
Please describe the problem: When starting totem, it use 100 Mo of ram :( Steps to reproduce: Launch totem Actual results: Load totem_logo.png and eat 100Mo of ram Expected results: Does this happen every time? Yes Other information:
After starting up Totem (xine-lib) on my machine: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND <snip> 10738 hadess 15 0 139m 26m 18m S 0.0 5.3 0:00.68 totem So it uses 26 megs of RAM (and not 139 megs). That's mainly the plugins, and the needed application and library bits loaded in memory. Where exactly did you find this 100 megs?
Before starting totem, my systeme use 135 Mo, after starting it, it use near 300 Mo of ram. Maybe an Ubuntu bug :(
You probably need to learn how to read the free memory on Linux. Here are a few of the links that showed up in Google: http://gentoo-wiki.com/FAQ_Linux_Memory_Management http://sourcefrog.net/weblog/software/linux-kernel/free-mem.html
I know how to read memory usage on Linux. Sorry, but with xine plugin on Ubuntu Dapper, totem take about 10 seconds to load the png logo totem_logo.png and while loading this png, memory usage grow (100 Mo). With gstreamer plugin, loading totem_logo.png is really fast and i can't see memory leaks. With xine: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3359 gnumdk 15 0 275m 139m 12m S 3.0 27.6 0:00.75 totem What lib is used by totem while loading png files with xine engine? It may be a bug in this lib on dapper :( Thanx for answers ;)
Ha, yeah, file a bug with Ubuntu to include a newer version of xine-lib, or tell them to backport the gdk-pixbuf decoder I wrote. The ImageMagick backend is utter crap, and will use gobs of memory. You're better off remove the ImageMagick decoder in the meanwhile.