I have a new Raspberry Pi 3 installed with LibreElec installed using Kodi for IPTV and was experiencing excessive buffering. I made the changes below to the file /storage/.kodi/userdata/advancedsettings.xml. The settings were copied from advancedsettings.xml - Official Kodi Wiki.
Upon reboot I would expect to see Kodi using 400 - 450MB of RAM, however, it was only reading 80-90MB of RAM, and buffering persisted. I checked for any errors, etc..rebooted, still persisted. Rebooted several times, still persisted. Frustrated I quit on it, got up the next morning, powered it on, and it's using 420MB of RAM and buffering is non-existent.
As i am Linux challenged, does not anyone have any ideas as to what could have caused this behavior?..thanks.
<?xml version="1.0"?>
<advancedsettings>
<buffermode>1</buffermode>
<memorysize>159715200</memorysize>
<readfactor>20</readfactor>
</cache>
</advancedsettings>