To work around this you can play with the kernel's overcommit settings:

sudo bash
echo 100 > /proc/sys/vm/overcommit_ratio
echo 2 > /proc/sys/vm/overcommit_memory
exit
vlc

Now, when vlc runs amok, a memory allocation will fail and vlc will
crash.

Note that messing with the overcommit settings can crash your machine
(until you reboot) and the 100 value may need tuning.  If processes
start crashing before you even start VLC, raise it by 50.  If your
machine goes down rather than just VLC crashing, lower it by 50.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/743323

Title:
  vlc memory leak

To manage notifications about this bug go to:
https://bugs.launchpad.net/vlc/+bug/743323/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to