2018-04-07, 08:08
Hi,
when running Kodi (OS X 10.13.3 Mac Mini 2013 intel i7 Quad core) I have a memory leak - basically the WIndowserver process gradually grows, eventually leading to paging and mac getting hot and fan running fulll speed.
The problem is evident in 17.6 and the April 6 nightly. I have confirmed that the problem only occurs if kodi is running. I need to do more testing however the problem seems more easily triggered after pausing video playback
Below is a debug of a few hours of the leak - Windowserver grew to almost .5 GB memory in that time. (Over a full day it hits a few GB an then the mac gets very sad ..)
Steps:
Debug here (sorry it is huge as I had video component logging on):
https://gist.github.com/gigantaur/563c7d...75085a2a19
EDIT: Here is a clean/small debug - WindowServer got to 1.1GB after about 12 hours. Just played a video and then paused. Waited. (I think my wife put the monitor in standby after about 10 hours)
https://gist.github.com/gigantaur/eb3d97...471cbb319e
EDIT 2: Finally - here is a clean debug with the monitor on the whole time - Play then pause .. wait 10 hours - windows server at 1GB
https://gist.github.com/gigantaur/6d3508...b6f59ee9da
Devs, Please just let me know the debug you need and I am happy to do it
cheers,
Gigantaur
when running Kodi (OS X 10.13.3 Mac Mini 2013 intel i7 Quad core) I have a memory leak - basically the WIndowserver process gradually grows, eventually leading to paging and mac getting hot and fan running fulll speed.
The problem is evident in 17.6 and the April 6 nightly. I have confirmed that the problem only occurs if kodi is running. I need to do more testing however the problem seems more easily triggered after pausing video playback
Below is a debug of a few hours of the leak - Windowserver grew to almost .5 GB memory in that time. (Over a full day it hits a few GB an then the mac gets very sad ..)
Steps:
- Enable debug
- Restart kodi
- Play video
- Pause video
- Put monitor in standby (this is a dedicated HTPC setup so happens every night)
- Wait a few hours
Debug here (sorry it is huge as I had video component logging on):
https://gist.github.com/gigantaur/563c7d...75085a2a19
EDIT: Here is a clean/small debug - WindowServer got to 1.1GB after about 12 hours. Just played a video and then paused. Waited. (I think my wife put the monitor in standby after about 10 hours)
https://gist.github.com/gigantaur/eb3d97...471cbb319e
EDIT 2: Finally - here is a clean debug with the monitor on the whole time - Play then pause .. wait 10 hours - windows server at 1GB
https://gist.github.com/gigantaur/6d3508...b6f59ee9da
Devs, Please just let me know the debug you need and I am happy to do it
cheers,
Gigantaur