2013-11-21, 20:12
(my apologies if this is the wrong area, please feel free to move if necessary)
Environment:
Windows 7-64 (newly built), i3-3225 with 8GB RAM, XBMC 12.2
Both XBMC and PVR backend are running together on this same machine, connecting to an HDHomerun Prime tuner
All of the tests below were using HD channels from Comcast (USA)
I'm hoping to get some dev attention on a possible memory leak that's been confirmed by a few people over in the WMC PVR thread in the PVR Support forum (http://forum.xbmc.org/showthread.php?tid=171216). This may be Windows specific, but it's been confirmed in both WMC and NPVR, in 12.2 as well as Gotham.
While watching Live TV with the WMC add-in for a few hours the other night, I happened to turn on Task Manager (via remote desktop, another user account) and was quite surprised to see the XBMC process using around 700 megs of RAM. Further, I watched it steadily grow to about 900 megs over the course of an hour while watching TV. So I ran some more tests, moving to the stock Confluence skin, restarting XBMC, and monitoring the RAM usage of the XBMC process with Windows Performance Monitor. I let the home screen sit overnight, and then fired up Live TV for over an hour the next morning. I found that the steady increase in memory usage is reproducible, it grows by about 3MB per minute, and even worse the memory is not released after Live TV is stopped. Following is a chart showing the XBMC.exe RAM usage during this test (which uses the WMC PVR add-in). This test starts Live TV playback at about 7:00am, then stops close to 8:30am. It's sitting on the main menu before and after:
So I installed NPVR, disabled WMC and the MCE services, and tried the same test. I found that it happens with NPVR as well:
In contrast, following is what a chart looks like when I play a normal high definition MKV file:
Now, of course you're thinking "this guy has a borked environment". But three other people in the WMC thread have confirmed it and one of them confirmed on Gotham as well. Granted, they are only using the WMC add-in, and I am the only one who has tested in NPVR.
Any thoughts or tests that I can perform to help confirm, troubleshoot or diagnose? Has anyone else noticed this before? I do not know if this would happen on other OS's, so it's possible that it's Windows only.
Thanks.
Environment:
Windows 7-64 (newly built), i3-3225 with 8GB RAM, XBMC 12.2
Both XBMC and PVR backend are running together on this same machine, connecting to an HDHomerun Prime tuner
All of the tests below were using HD channels from Comcast (USA)
I'm hoping to get some dev attention on a possible memory leak that's been confirmed by a few people over in the WMC PVR thread in the PVR Support forum (http://forum.xbmc.org/showthread.php?tid=171216). This may be Windows specific, but it's been confirmed in both WMC and NPVR, in 12.2 as well as Gotham.
While watching Live TV with the WMC add-in for a few hours the other night, I happened to turn on Task Manager (via remote desktop, another user account) and was quite surprised to see the XBMC process using around 700 megs of RAM. Further, I watched it steadily grow to about 900 megs over the course of an hour while watching TV. So I ran some more tests, moving to the stock Confluence skin, restarting XBMC, and monitoring the RAM usage of the XBMC process with Windows Performance Monitor. I let the home screen sit overnight, and then fired up Live TV for over an hour the next morning. I found that the steady increase in memory usage is reproducible, it grows by about 3MB per minute, and even worse the memory is not released after Live TV is stopped. Following is a chart showing the XBMC.exe RAM usage during this test (which uses the WMC PVR add-in). This test starts Live TV playback at about 7:00am, then stops close to 8:30am. It's sitting on the main menu before and after:
So I installed NPVR, disabled WMC and the MCE services, and tried the same test. I found that it happens with NPVR as well:
In contrast, following is what a chart looks like when I play a normal high definition MKV file:
Now, of course you're thinking "this guy has a borked environment". But three other people in the WMC thread have confirmed it and one of them confirmed on Gotham as well. Granted, they are only using the WMC add-in, and I am the only one who has tested in NPVR.
Any thoughts or tests that I can perform to help confirm, troubleshoot or diagnose? Has anyone else noticed this before? I do not know if this would happen on other OS's, so it's possible that it's Windows only.
Thanks.