2016-05-09, 22:04
I can confirm the OOM crash of kodi when watching livetv via pvr.hts addon
Seems something leaks memory indeed. Trying to disable hw acceleration and will see if it still leaks ...
Leak rate is around 2MB in 10secs for 720x576 mpeg2 livetv 25fps and memory is not freed when playback is stopped.
Edit: - same memory leak when playing h.264 movies from my nas - fullhd leaks between 1 - 1.6MB in 10 secs - seems its not really related to the frame size...
Edit2: - above findings where with 3 render buffers setup in settings->system->video, changing this doesn't effect the leak rate.
Code:
[ 3877.843088] Out of memory: Kill process 566 (kodi.bin) score 880 or sacrifice child
[ 3877.843302] Killed process 566 (kodi.bin) total-vm:1281480kB, anon-rss:682080kB, file-rss:0kB, shmem-rss:0kB
Seems something leaks memory indeed. Trying to disable hw acceleration and will see if it still leaks ...
Leak rate is around 2MB in 10secs for 720x576 mpeg2 livetv 25fps and memory is not freed when playback is stopped.
Edit: - same memory leak when playing h.264 movies from my nas - fullhd leaks between 1 - 1.6MB in 10 secs - seems its not really related to the frame size...
Edit2: - above findings where with 3 render buffers setup in settings->system->video, changing this doesn't effect the leak rate.