VLC CPU and memory consumption after long time playing

*nix specific usage questions
Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC CPU and memory consumption after long time playing

Postby Rémi Denis-Courmont » 16 Aug 2010 17:36

vlc --no-stats if I recall correctly.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

ccastro
Blank Cone
Blank Cone
Posts: 13
Joined: 12 May 2008 23:13

Re: VLC CPU and memory consumption after long time playing

Postby ccastro » 16 Aug 2010 21:56

You right, but its doesnt solve the issue,

TOP output:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5119 encoder4 20 0 1929m 1.3g 4608 S 5 32.6 5:47.93 vlc

Command:
vlc -Idummy --no-stats dvb:// --dvb-frequency=575028615 --dvb-adapter=7 --dvb-modulation=8 --programs=3,4,5 --sout #duplicate{dst=std{access=udp,mux=ts,dst=235.100.10.16:10016},select="program=3", dst=std{access=udp,mux=ts,dst=localhost:5705},select="program=3", dst=std{access=udp,mux=ts,dst=235.100.10.17:10017},select="program=4", dst=std{access=udp,mux=ts,dst=localhost:5710},select="program=4", dst=std{access=udp,mux=ts,dst=235.100.10.18:10018},select="program=5", dst=std{access=udp,mux=ts,dst=localhost:5715},select="program=5"} --ttl 12

Any other idea?

kotao_78
Blank Cone
Blank Cone
Posts: 86
Joined: 29 Jul 2006 09:46
Location: Zhuhai,China

Re: VLC CPU and memory consumption after long time playing

Postby kotao_78 » 17 Aug 2010 17:01

You may read vlc 1.0.5 code , in stats.c , check --no-stats are available for that

Ufomies
New Cone
New Cone
Posts: 2
Joined: 24 Nov 2010 02:34

Re: VLC CPU and memory consumption after long time playing

Postby Ufomies » 24 Nov 2010 03:24

Hi all.

I have been having the same exact issue in regular playback with different sorts of video files. I'm using a 64-bit version of Arch Linux (2.6.35-ARCH #1 SMP PREEMPT) and VLC 1.1.4.1 (The Luggage). After every ten days or so, give or take a bit, VLC seems very prone of going bonkers with its resource consumption. I usually give up and reboot at that point, but as it happened an hour ago, I decided to check it out, and after two consecutive and extremely painful freezes with the same exact video file, tried it with another video file, which worked fine. I tried again with yet another one, which worked fine as well. Although the memory consumption was still up to 1.3 GB, which is quite a lot. ;) And yes, when I went back and tried with the original file I was trying to play, I got the Frozen VLC Syndrome once again.

Now, I understand the difference between the circumstances these weird things seem to occur - I don't have streaming media running 24/7 either on or via the silly darn program. In my case, it's just a question of using VLC quite a lot over a relatively long time. Nevertheless, it would seem rather apparent that the issues we're facing might be more or less related to each other. In my case, the Frozen VLC Syndrome seems to hit quite suddenly, without any slower increase of resources over a longer period of time. It just slams me in the face with a sledgehammer. Killing the process, even when it's done properly - with wolves howling at the background, when the Moon is full - doesn't cure the disease. Now, what I wonder is that why other video files are playing back nicely, but not the one that didn't understand my supreme power. I tried to play the file with xine-ui - without any problems.

-- Marko

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC CPU and memory consumption after long time playing

Postby Rémi Denis-Courmont » 24 Nov 2010 17:26

If you have a very reproducible test case then you should file it to Trac.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

filazaf
New Cone
New Cone
Posts: 2
Joined: 13 Feb 2012 00:05

Re: VLC CPU and memory consumption after long time playing

Postby filazaf » 11 Jun 2012 01:22

i have the same problem
2.1.0 100% on any video and next crash


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

Who is online

Users browsing this forum: No registered users and 33 guests