On Sat, 22 Jan 2005 10:47:14 +0200
david martin <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I run a pretty heavily utilised freevo 1.52 box for recording free to
> air tv via an analog tv capture card and mencoder. I have begun to
> notice rather alarming memory usage patterns with the freevo record
> server threads which make me think either something is leaking memory
> or not using garbage collection where it should. Not being overly
> familiar with Python memory management I don't dare to guess what
> exactly is going on, but consider the attached memory usage stats
> taken from top output.
> 
> Over a period of 4 days and about 18 recording events, the resident
> memory consumption of the record server seems to have gone from 42Mb
> to 165Mb while the main process and the web server have remained
> roughly constant. It doesn't looks like there are any orphaned
> mencoder child processes hanging around or anything unusual. If I
> leave the recordserver for long enough, eventually enough memory is
> taken up that most other processes are swapped out of physical memory
> and mecoder begins to thrash because of insufficient buffer space
> during recordings. Right now I restart the recordserver manually every
> few days but it is hardly an optimal solution.
> 
> Anybody have any ideas or suggestions about what to do? This is freevo
> 1.52 (Gentoo ebuild) running on Python 2.3.4 over a  2.4.26-gentoo-r14
> tree kernel with V4L and MPlayer 1.0pre5try2-3.3.4.
> 

I am running Gentoo as well, and my amd64 system started going into swap space 
w/ a gig of memory due to freevo recordings using mencoder.  I posted a message 
to this list about it and the workaround I found.  No-one replied to that 
thread, but you can find the message and the workaround here:

http://sourceforge.net/mailarchive/message.php?msg_id=10280532

Regards,
Jonathan Thambidurai


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to