Memory issue when using vlc as a background streaming app.

*nix specific usage questions
janpetel
New Cone
New Cone
Posts: 9
Joined: 23 Apr 2008 01:00

Memory issue when using vlc as a background streaming app.

Postby janpetel » 24 Dec 2012 18:10

Hi.

I use vlc to redirect my hauppauge pvr150 analog tv card output (about 6Mbit/s) to a http stream in a background process. I do this so my pvr signal is usable on multiple computers at the same time.
This usually works fine, I can watch the same channel at multiple locations simultaneously.

But:
When my server has run for some time, after about 26 hrs (I found that out when I started logging memory stuff) the streaming process gradually (pretty linearly) increases its memory use until it stops being usable because too much memory is used. I now have this tracked so that when it reaches an early threshold, I stop and start the process automatically. This is a fix, but when it happens, any running instances using the http stream would stop because the stream was interrupted. This is a minor inconvenience and usually doesn't happen when watching tv.
It seems however, that again after about the same time, this happens all over again.

Has anyone noticed the same sort of behaviour in any way while streaming from a tv card?
I have compiled my own vlc with pvr support on Ubuntu 11.04 and it's version 2.0.3.
The world is round --- As round as a pancake

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Memory issue when using vlc as a background streaming ap

Postby Jean-Baptiste Kempf » 25 Dec 2012 06:57

You should valgrind to find the leak.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

janpetel
New Cone
New Cone
Posts: 9
Joined: 23 Apr 2008 01:00

Re: Memory issue when using vlc as a background streaming ap

Postby janpetel » 26 Dec 2012 20:50

You should valgrind to find the leak.
OK, I'll look into that shortly, thanx.
The world is round --- As round as a pancake


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

Who is online

Users browsing this forum: No registered users and 8 guests