Massive memory footprint from rtmpdump
James Daley
jms.daley at gmail.com
Mon Feb 10 15:07:51 EST 2014
>Isn't that what ulimits are for? Limiting the memory usage by a
> process? Ah, that seems to be for file sizes. I'm sure there is a way to
> limit memory so you can set-up a safety net (at least another script
> monitoring rtmpdump's memory usage and killing it if it gets too big).
>
> Nick
I used to have the same problem when trying to stream live tv into vlc. I've
since
given this up as a bad job but I could prevent this particular issue with the
following 3 lines at the top of the get_iplayer script :
#!/bin/bash
ulimit -v 204800
exec /usr/bin/perl -x -S $0 ${1+"$@"}
Didn't attack the cause though.
More information about the get_iplayer
mailing list