mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
kodi: reduce arm memory fragmentation
Refs: https://forum.kodi.tv/showthread.php?tid=298461&pid=2696616#pid2696616 https://github.com/LibreELEC/LibreELEC.tv/pull/1286
This commit is contained in:
parent
3932df06c4
commit
fab61261ed
@ -55,4 +55,6 @@ echo "KODI_ARGS=\"$KODI_ARGS\"" > /run/libreelec/kodi.conf
|
||||
|
||||
if [ "$(uname -m)" = "x86_64" -o "$(uname -m)" = "aarch64" ]; then
|
||||
echo "MALLOC_MMAP_THRESHOLD_=524288" >> /run/libreelec/kodi.conf
|
||||
else #arm
|
||||
echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user