2018-01-28, 07:17
Quote:Are you sure you applied MALLOC_MMAP_THRESHOLD_ correctly? Can you re-test with #0127 (with 8192 threshold)?I think I did apply it correctly. I edited packages/mediacenter/kodi/scripts/kodi-config and rebuilt Kodi:
Code:
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
I didn't do the precise testing but I ran the Elysium file 8 times and after that I got about 100Mb of available RAM left. I also tried 65536 value and actually got a slightly better result. I will retest a bit later.