VLC Memleaks
VLC - on occasion - loves to take every bit of RAM away for itself ... which kind of sucks. Valgrind doesn't turn up anything, since as soon as virtually every bit is drained VLC starts to free the memory again.
I kind of circumvented the whole issue with this:
mv /usr/bin/vlc /usr/bin/vlc.real-
/usr/bin/vlc#!/bin/bash
memleaksave.sh /usr/bin/vlc.real $@ -
/usr/bin/memleaksave.sh#!/bin/bash
ulimit -m 600000
ulimit -v 600000
$@
Now it will just silently hit the 600 MByte mark, and then VLC will free the memory again stopping the video playback.