]> git.rmz.io Git - dotfiles.git/commitdiff
mkosi/kodi: limit ram usage
authorSamir Benmendil <me@rmz.io>
Wed, 23 Dec 2020 12:39:26 +0000 (12:39 +0000)
committerSamir Benmendil <me@rmz.io>
Wed, 23 Dec 2020 12:39:26 +0000 (12:39 +0000)
We don't want this container to take down the whole system.

There's probably a better way to do this and controll resources more
globally for the system, i.e. only ever allocate a max amount to all
containers.

mkosi/kodi/override.conf

index c0eda9b1c49eb85c2a21a6b72c610a4c2bdaba62..25c5a091c2627112399734166ffa2e719615c04b 100644 (file)
@@ -9,3 +9,5 @@ DeviceAllow=char-input rwm
 DeviceAllow=char-shm rwm
 DeviceAllow=char-tty rwm
 DeviceAllow=char-usb_device rwm
+
+MemoryHigh=6G