[MPlayer-dev-eng] [BUG] cache never freed? (multifile)

Felix Buenemann atmosfear at users.sourceforge.net
Thu Jul 25 00:31:15 CEST 2002


Hi Arpi,

could it be that the cache is never freed?
Today I played around a bit with multichannel stuff on my workstation and I 
had cache set to 65536 and played through about every DD/THX/DTS trailer out 
there on this planet and after some files the mplayer process got killed by 
the kernel. When I set cache to 8192 it went through all of the files.

The system has 768MB RAM and no swap, during mplayer running 4MB were free, 
after it was killed about 560MB were free. The used mem went nearly completly 
into Cache-Memory while mplayer was running.

When I looked into cache2.c I saw that there are only calls to shmem_alloc, 
but there seems to be no code to free the shared mem again, so I believe my 
suspections are true.
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list