No-Life Channel: Memory leak?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
kintaro
New Cone
New Cone
Posts: 4
Joined: 06 Oct 2008 11:33

No-Life Channel: Memory leak?

Postby kintaro » 06 Oct 2008 11:51

Hi,

I'm using VLC (0.8.6.i) to watch the TV channel called Nolife (from a Freebox from French access provider Free). When I watch this stream the memory consumption of VLC is increasing (from 20 Mo to 175 Mo in 45 minutes). And thus when I try to switch to another stream or to close VLC the process takes 100% CPU and is difficult (sometimes impossible) to kill.

This phenomenon occurs only on this stream I don't know what to do.

For info : I have a Athlon XP 3200, 1Go Ram, an NVidia card and Windows XP Pro SP2.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Memory leak?

Postby VLC_help » 07 Oct 2008 18:23

Have you tried 0.9.2 or nightlies?
http://nightlies.videolan.org/build/win32/latest/

kintaro
New Cone
New Cone
Posts: 4
Joined: 06 Oct 2008 11:33

Re: Memory leak?

Postby kintaro » 08 Oct 2008 13:38

I've tried to downgrade to 0.8.6.c, I've tried to upgrade to 0.9.2 and even 0.9.4(nightly). I've always got the same problem (and I've discovered in another forum that other people have the same problem).

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 leak?

Postby Jean-Baptiste Kempf » 08 Oct 2008 14:19

Does it happen with other free channels?
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.

kintaro
New Cone
New Cone
Posts: 4
Joined: 06 Oct 2008 11:33

Re: Memory leak?

Postby kintaro » 08 Oct 2008 14:23

Apparently not I've tried with France 2 and France 5 and I have no problems...

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 leak?

Postby Jean-Baptiste Kempf » 08 Oct 2008 14:25

Can you test with other channels ? Do you have any messages?
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.

kintaro
New Cone
New Cone
Posts: 4
Joined: 06 Oct 2008 11:33

Re: Memory leak?

Postby kintaro » 08 Oct 2008 14:49

I will try this evening. I have no error message displayed. Maybe something in a log file?

[edit]
Someone who has the same problem has posted this log
http://pastebin.com/m5336129

mandhyl
Blank Cone
Blank Cone
Posts: 14
Joined: 08 Oct 2008 16:02

Re: Memory leak?

Postby mandhyl » 08 Oct 2008 16:19

Hi everybody,

I'm the author of the previous log file. It was made by VLC media player 0.9.4 with the "clock synchronisation" option set to disabled. But disabled or not this ending option not resolve the problem. I have tried a lot of customisation of preferences settings like increase the size of buffers for RTSP demultiplexers, acces modules or codecs whitout any result.

On others channels we haven't the errors like "main debug: decoded 120/122 pictures" or "main warning: late picture skipped (9157)", it's only on this stream.

To discredit the default video output rendering mechanism I have tried to force an OpenGL output, whithout no success. I have tried disabling the sound modules too, error always present.

Many people have this problem whith this stream.

Wee need your help, thancks for your replies.
Last edited by mandhyl on 08 Oct 2008 16:53, edited 2 times in total.

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: No-Life Channel: Memory leak?

Postby Jean-Baptiste Kempf » 08 Oct 2008 16:40

I changed the title because it is only in No-Life.

I tried wihtout success to call the people from Free, who are probably having issues with that stream...

I'll ask our Mr.Leak to work on it :D
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.

actionthomas
New Cone
New Cone
Posts: 8
Joined: 09 Oct 2008 00:33
VLC version: 0.9.4
Operating System: Windows
Location: Lyon, France

Re: No-Life Channel: Memory leak?

Postby actionthomas » 09 Oct 2008 00:35

Hi everyone !

I also have this problem... Hope you'll debug it ;)

And I don't want to be an ass, but it's Nolife (one word), not No-Life ;)

Thanks to the team !

mandhyl
Blank Cone
Blank Cone
Posts: 14
Joined: 08 Oct 2008 16:02

Re: No-Life Channel: Memory leak?

Postby mandhyl » 09 Oct 2008 11:36

But, where is Mr. Leak ?

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: No-Life Channel: Memory leak?

Postby ivoire » 09 Oct 2008 17:21

He will try to have a look at this issue tonight or next night...

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: No-Life Channel: Memory leak?

Postby ivoire » 10 Oct 2008 13:32

I had try to reproduce the problem yesterday with the latest vlc (trunk). Running under valgrind during 15min can't show any "significant" leak.
So some question:
* could you test with the latest version of vlc (from http://nightlies.videolan.org/) because a lot of meleaks have been removed recently ?
* is it only on windows ?

Thanks for reporting, I will check again tonight.

mandhyl
Blank Cone
Blank Cone
Posts: 14
Joined: 08 Oct 2008 16:02

Re: No-Life Channel: Memory leak?

Postby mandhyl » 10 Oct 2008 13:45

Update vlc to the the latest version not resolve the errors. On linux or windows xp, same symptoms.

Thanks to you Ivoire for had a interrest to this problem.

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: No-Life Channel: Memory leak?

Postby Jean-Baptiste Kempf » 10 Oct 2008 15:42

What about testing with --codec ffmpeg,all ?
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.

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: No-Life Channel: Memory leak?

Postby ivoire » 10 Oct 2008 15:49

On linux or windows xp, same symptoms.
Could you try to run vlc under valgrind on linux ? (if you have time)?

actionthomas
New Cone
New Cone
Posts: 8
Joined: 09 Oct 2008 00:33
VLC version: 0.9.4
Operating System: Windows
Location: Lyon, France

Re: No-Life Channel: Memory leak?

Postby actionthomas » 10 Oct 2008 19:50

I had try to reproduce the problem yesterday with the latest vlc (trunk). Running under valgrind during 15min can't show any "significant" leak.
So some question:
* could you test with the latest version of vlc (from http://nightlies.videolan.org/) because a lot of meleaks have been removed recently ?
* is it only on windows ?

Thanks for reporting, I will check again tonight.
I tested with the latest nightly, memory usage still grows while playing Nolife.
I could see it with Process Explorer. It grows of about 2,5MB/minute (don't know if that helps!).

edit: after a while, the video froze, with the message "main error: decoder is leaking pictures, resetting the heap" shown in the message log.
http://actionthomas.free.fr/fbxtv/vlc.png

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: No-Life Channel: Memory leak?

Postby Jean-Baptiste Kempf » 10 Oct 2008 22:00

Can you try with --codec ffmpeg,all ?
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.

actionthomas
New Cone
New Cone
Posts: 8
Joined: 09 Oct 2008 00:33
VLC version: 0.9.4
Operating System: Windows
Location: Lyon, France

Re: No-Life Channel: Memory leak?

Postby actionthomas » 10 Oct 2008 23:08

I started vlc from the command line with "vlc --codec=ffmpeg,all -vvv", then I opened the stream.
Memory usage was still growing.

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: No-Life Channel: Memory leak?

Postby Jean-Baptiste Kempf » 10 Oct 2008 23:31

OK, let's do it in another way:
vlc -vvv -Vdummy
-Adummy

vlc --no-video
--no-audio ?

Combinations of above?
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.

actionthomas
New Cone
New Cone
Posts: 8
Joined: 09 Oct 2008 00:33
VLC version: 0.9.4
Operating System: Windows
Location: Lyon, France

Re: No-Life Channel: Memory leak?

Postby actionthomas » 11 Oct 2008 14:03

I tried :
vlc -vvv -Vdummy -Adummy
vlc -vvv --no-video --no-audio
vlc -vvv -Vdummy --no-audio
vlc -vvv --no-video -Adummy

Still the same thing problem, memory usage grows.

Eh merde...

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: No-Life Channel: Memory leak?

Postby Jean-Baptiste Kempf » 11 Oct 2008 14:05

vlc --no-video --no-audio leak de la même façon ?
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.

actionthomas
New Cone
New Cone
Posts: 8
Joined: 09 Oct 2008 00:33
VLC version: 0.9.4
Operating System: Windows
Location: Lyon, France

Re: No-Life Channel: Memory leak?

Postby actionthomas » 11 Oct 2008 14:07

Oui, 3,6 Mo de mémoire utilisée en plus par minute...

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: No-Life Channel: Memory leak?

Postby Jean-Baptiste Kempf » 12 Oct 2008 16:58

Suicide.
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.

mandhyl
Blank Cone
Blank Cone
Posts: 14
Joined: 08 Oct 2008 16:02

Re: No-Life Channel: Memory leak?

Postby mandhyl » 13 Oct 2008 15:35

:/

it's not cool.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 25 guests