Page 1 of 1

libvlc Memory Leak

Posted: 12 Oct 2007 15:45
by Hogi
Hot to reproduce:

Have an installation of VLC that has a working ActivvX-Plugin. Like 0.8.6c. The latest nighlies haven't got a working ActivvX-Plugin, so I can't tell if the problem persists in a recent version.

Save this HTML-Source as an .html file on your disc an use a valid Video-filename as filename.

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <HTML> <BODY marginwidth="0" marginheight="0" topmargin="0" leftmargin="0"> <OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab#Version=0,8,6,0" width="712" height="534" id="vlc" events="True"> <param name="Src" value="VIDEO.AVI OR PLAYLIST.M3U" /> <param name="ShowDisplay" value="True" /> <param name="AutoLoop" value="True" /> <param name="AutoPlay" value="True" /> <PARAM NAME="Volume" VALUE="0"> </OBJECT> </BODY> </HTML>
Open this HTML page in the Internet Explorer. The video file must be playing now.

Open the Task-Manager an remind the used-memory value.

Hit the "Page-Reload" Button serveral times (wait about 5 sec. between each clicks). The memory usage will go up about 1 MB with each reload.

The problem doesn't seem to be an Active-X issues, as I checked it out with Quovodis.