VLC 0.8.2 keeps eating memory!

*nix specific usage questions
rivertoday
New Cone
New Cone
Posts: 6
Joined: 17 Oct 2005 04:34

VLC 0.8.2 keeps eating memory!

Postby rivertoday » 07 Apr 2006 15:56

Just made a test in LAN of my lab but found this problem.

Server: WinXP Pro + VLC 0.8.2
Client: RedHat9 + VLC 0.8.2 (installed with source code from only three tarballs——libdvbpsi3-0.1.5.tar.gz, mpeg2dec-0.4.0b.tar.gz, vlc-0.8.2.tar.gz)
vlc's configure command:
./configure --enable-debug --disable-dvdnav --disable-smb --disable-libcdio --disable-libcddb --disable-cdda --disable-ogg --disable-mkv --disable-mod --disable-mpc --disable-mad --disable-ffmpeg --disable-dts --enable-libmpeg2 --disable-vorbis --disable-speex --disable-png --disable-x264 --disable-cmml --disable-fribidi --disable-libxml2 --disable-skins2 --disable-wxwidgets --disable-visual --disable-daap --disable-bonjour --disable-joystick

I used server to multicast an mpeg2 ts file in 234.5.6.7:8000, and receive it by client, the command is:
$> vlc -vvv --access udp --volume 1024 udp:@234.5.6.7:8000
It did play well in quality, but later I found the vlc kept eating memory so much! it could be even about 80% of memory!

Can anyone give me a hand? I want to know whether it was caused by my operations or it was an inherent problem of VLC?
I had googled the web, and someone said that VLC in window is not stable, and in Linux it has memory leak. Is it true?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 07 Apr 2006 16:26

Get recent sources from http://nightlies.videolan.org/ or http://developers.videolan.org/vlc/

Reporting bugs is usually better if you don't use 1 year old versions :D
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

rivertoday
New Cone
New Cone
Posts: 6
Joined: 17 Oct 2005 04:34

Postby rivertoday » 12 Apr 2006 10:04

Thank you very much!
My purpose is to receive multicast video programs from my video server, and the latter gets them from satellite. So I just need libdvbpsi、libmpeg2 and libmad support.

Followed by your suggestion, Now I installed VLC-0.8.4a under Fedora core 3 in a strong AMD machine, and it worked fine!javascript:emoticon(':D')
Very Happy

But I have a new question now, I want to make it work in a VIA machine, its processor is C3-800, it's strong enough to play mpeg2 ts file.
I installed the same FC3, the same VLC, my configure arguments are the following:
./configure\
--enable-debug --enable-sout --enable-dvbpsi --enable-libmpeg2 --enable-mad --enable-x11 --enable-xvideo\
--disable-dvdnav --disable-smb --disable-libcdio --disable-libcddb --disable-cdda\
--disable-ogg --disable-mkv --disable-mod --disable-mpc --disable-dvd --disable-ffmpeg\
--disable-dts --disable-vorbis --disable-speex --disable-png --disable-x264\
--disable-cmml --disable-fribidi --disable-libxml2 --disable-skins2 --disable-wxwidgets\
--disable-visual --disable-daap --disable-bonjour --disable-joystick

I have installed libmad libdvbpsi and libmpeg2 before,
but when I make, it gave the following message:

make[2]: Entering directory `/home/river/vlc/vlc-0.8.4a'
srcdir=. ./toolbox --update-version
which: no svnversion in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/sbin:/usr/sbin)
gcc -Wsign-compare -Wall -pipe -o vlc src/vlc-vlc.o lib/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/mux/mpeg/libmux_ts.a -L/usr/local/lib -g -lrt -lpthread -ldl -lm -ldvbpsi
src/vlc-vlc.o(.text+0xe): In function `main':
src/vlc.c:57: undefined reference to `VLC_Version'
src/vlc-vlc.o(.text+0x59):src/vlc.c:77: undefined reference to `VLC_Create'
src/vlc-vlc.o(.text+0xe6):src/vlc.c:98: undefined reference to `VLC_Init'
src/vlc-vlc.o(.text+0x110):src/vlc.c:105: undefined reference to `VLC_AddIntf'
src/vlc-vlc.o(.text+0x11e):src/vlc.c:108: undefined reference to `VLC_CleanUp'
src/vlc-vlc.o(.text+0x12a):src/vlc.c:111: undefined reference to `VLC_Destroy'
src/vlc-vlc.o(.text+0x1a6): In function `SigHandler':
src/vlc.c:141: undefined reference to `VLC_Die'
collect2: ld returned 1 exit status
make[2]: *** [vlc] Error 1
make[2]: Leaving directory `/home/river/vlc/vlc-0.8.4a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/river/vlc/vlc-0.8.4a'
make: *** [all] Error 2

Could you point out what's wrong? Maybe it's only a little problem, I'll search for solvement.
Get recent sources from http://nightlies.videolan.org/ or http://developers.videolan.org/vlc/

Reporting bugs is usually better if you don't use 1 year old versions :D
:D


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 5 guests