[MPlayer-users] mplayer takes all RAM over a few days

Klaus Thorn support at merlinux.de
Mon Oct 3 00:41:53 CEST 2005


Hello all,

on a Linux System with 384 MB RAM,
mplayer takes about 50% of the RAM in 2-4 days,
and once has taken so much that the system was swapping
badly. It would probably do it again but I restart it
every few days now.

The system only streames music to the network via icecast2
and mplayer listens to this music and plays them to the
soundcard 24h/7days a week:

mplayer -novideo -ac vorbis -really-quiet -loop 0 http://localhost:8000/music.ogg

I'm no C-programmer (only python and bash), so I cannot debug
the programm itself and have no idea what's happening.
But could it be that this is a memory leak?

I did not find a hint in the mailing list posts of the last weeks so
I guess it was o.k. to assume it is not fixed already
and to not try the CVS Version...

Details:

MPlayer 1.0pre7try2-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon Thunderbird (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

RedHat Fedora Core 3
linux 2.6.9-1.667 (bhcompile at tweety.build.redhat.com)

gcc -v
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3) (used for kernel and mplayer)
../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread-Model: posix

ld -v
GNU ld version 2.15.92.0.2 20040927

lspci: audio controller: Ensoniq 5880 AudioPCI (rev 02)

with kind regards,
-- 
klaus thorn     klaus at trillke.net




More information about the MPlayer-users mailing list