2018-08-26, 12:58
(2018-08-25, 00:44)agentxan Wrote: Did you find anything in the logs that I posted that would cause the freeze when it drops to about 60mb of free memory. I tried to use plugins like embycon to play the movies and tvshows with nothing in the kodi database and it does not run out of memory. The free memory hovers around 150mb and 250mb after 9 days.
Sorry, I'd forgotten about this.
I've had a look through the logs, and memory definitely seems to be reducing to the point where you'll likely hit OOM, but it's not entirely obvious why. Based on the timings, it looks like large chunks of memory are being allocated while browsing your library or playing movies - which seems unusual. Unfortunately, the bcmstat.sh memory monitoring only has visibility of the entire system and not just kodi.bin, so it's not possible to say with any certainty that the memory being allocated is being allocated by Kodi. Have you installed anything else on your RPi which might be running in addition to Kodi, for example tvheadend, docker, Hyperion etc.?