Open ComputerLag opened 6 years ago
Similar to this issue that I was blaming on Kodi?
The symptom seems similar. If you want to be sure see if you can enable ssh and shell into the device from another computer, and run something like htop or top and watch memory and swap usage.
If you have enough free space on SD card you could try extending the swap partition to something like 2GB or 4GB and see if it changes anything.
I don't know what player Kodi uses but it may be possible to modify the config and limit its cache if it is a memory issue that is crashing.
Thanks, but not the same. It crashed before filling up and isn't using swap. Though it does fill up considerably and never come back down. I also noticed we have different hardware as I have the RockPro. Ugh more troubleshooting.
mpv default cache settings are too large for rock64 1GB memory + 460M swap. The result is the system hangs and then crashes after playing a video long enough for the cache to exhaust all memory. See: https://github.com/mpv-player/mpv/issues/5359#issuecomment-392447412
I recommend adding a default cap on demuxer-max-bytes or demuxer-readahead-secs
Below is a sample of my config to workaround the issue
~/.config/mpv/mpv.conf