Cache setting in advancedsettings.xml ignored
#1
I'm trying to change my cache memory size, using this guide https://kodi.wiki/view/HOW-TO:Modify_the_video_cache
I've upped it to 1GB, but task manager still has Kodi using 100-150mb, and I can't notice any changes in Kodi itself.

Suspiciously, the log file says:
log:
info <general>: New Cache GUI Settings (replacement of cache in advancedsettings.xml) are:
                                                     Buffer Mode: 4
                                                     Memory Size: 20 MB
                                                     Read Factor: 4.00 x
                                                     Chunk Size : 131072 bytes
Seems like the cache setting is getting ignored? How do I change the cache settings in Kodi 21.0.0?

Advancedsettings xml: https://paste.kodi.tv/ewifihukuw
Log: https://paste.kodi.tv/xofubarunu.kodi
Reply
#2
The clue is in the log message

Quote:New Cache GUI Settings (replacement of cache in advancedsettings.xml)

means exactly that. The advancedsettings.xml entries are no longer used so that wiki page is out of date (notice the Page updated for v18 top right means it hasn't been updated in a long time), as in v21 the settings were moved into the GUI and can be found under Settings -> Services -> Caching
Reply
#3
Probably should have been put in the release announcement, as reviewing logs seems like most users have added cache settings in their advancedsettings.xml.

scott s.
.
Reply
#4
Are these settings working? I'm having issues playing high bitrate videos on a 4GB RPi on NFS. I noticed the movies always stop at exactly the same time, after investigating I noticed the RAM gets filled up all the way, so technically I'm only able to watch 4GB of the movie, after which the movie stops playing. I tested this by copying the movie to the SD card where is played fine and RAM didn't start filling up.

I spend hours trying to make advancedsettings.xml to work with no help obviously and after finally seeing this post I tried to set Buffer Mode to 3 (No buffer) and the issue still persists.
Reply
#5
You are post in wrong forum:
 
(2024-04-25, 09:42)alko89 Wrote: I'm having issues playing high bitrate videos on a 4GB RPi

Windows on RPi?
 
(2024-04-25, 09:42)alko89 Wrote: I tried to set Buffer Mode to 3 (No buffer) and the issue still persists.

If same issue persists with Cache disabled then is not related to Cache at all.
Reply
#6
(2024-04-25, 18:04)jogal Wrote:  
(2024-04-25, 09:42)alko89 Wrote: I tried to set Buffer Mode to 3 (No buffer) and the issue still persists.

If same issue persists with Cache disabled then is not related to Cache at all.

Yes, I tried to find a similar issue before opening a new thread. What would then the issue be? Why is the movie loaded in memory without being released?
Reply
#7
As of Kodi v21 Omega the cache settings in the advancedsettings.xml have been removed.

The cache is now adjusted within Kodi from the settings page... https://kodi.wiki/view/Settings/Services/Caching
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Cache setting in advancedsettings.xml ignored0