[MPlayer-users] Re: memleak in cvs

Arpi arpi at thot.banki.hu
Thu Aug 22 00:33:02 CEST 2002


Hi,

> ok, i'll say this again.  It does not matter what kind of file you're
> playing or what codec you're using.  
> 
> the only difference between mplayer -v in gui mode and console mode is
> that CACHE_PRE_INIT changes, but it changes everytime you run it in
> console mode too.  and of course Cache fill , the line under it,
> changes. 
did you try without cache?

> All you need to do to reproduce the problem is start in gui mode, and
> start playing a file, watch memory usage, it will increase gradually. 

i can't reproduce.
even with gui the mem usage is constant.

> Stop the file, play another.  Watch memory usage increase still.  You
                 ^^^^^^^^^^^^^
i said that playing multiple files is buggy and may leak memory, due
to missing uninit of many codecs.

go back to the original problem - playing one big file keeps increasing
memory usage.

> should see significant memory usage after only 5 minutes of doing this. 
ie playing many many files for few seconds per file?
or playing a 2 hour long avi for 5 minutes?

> here are my two configs.   There is nothing more detailed about the
> situation.   
i still want to see your mplayer -v [options] [filename] output while
reproducing this memleak problem. that log contains everything we want to
see - actually the options you use and their actual result, along
video and other parameters. no one is interested in your binaries and
configfiles.

> mplayer starts up with something like 25MB of memory usage.  When
> playing a file this increases to like 27 or so.  Starting up in gui mode
yes, it's ok

> has mplayer at about 31.  This gradually increases with player use. 
> 300K/s or so.  you have to watch top.  
i can't see this. it is constant until i stop the playback. then it goes
lower, sometimes not so low as before the playback, due to codec uninit
problems (it is known and can't/won't be fixed), but it does NOT increase
while playing.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list