[MPlayer-dev-eng] [RFC] rlimits support

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Oct 9 15:03:53 CEST 2010


Hello,
this is an unfinished patch to add support for rlimits.
The main point of it would be to limit RLIMIT_DATA to something
"reasonable" like e.g. 512 MB by default, which for most users
would guarantee that MPlayer never causes an unusable system
due to a memleak and excessive swapping caused by that.
This should also make it possible to test in a semi-automated
way that MPlayer can handle out-of-memory conditions where
NULL is returned by malloc. 
It lacks at the very least: configure check, command-line option,
documentation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rlimits.diff
Type: text/x-diff
Size: 3407 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101009/6d596433/attachment-0001.diff>


More information about the MPlayer-dev-eng mailing list