[mythtv] backend memory leak

Daniel Kristjansson danielk at cuymedia.net
Wed Sep 28 17:01:27 UTC 2005


On Wed, 2005-09-28 at 16:03 +0100, Stuart Morgan wrote:
> On Wed 28 September 2005 15:41, Stuart Auchterlonie wrote:
> > I'd seen pretty slow growth, but not enough to worry me before,
> > since I was always installing new versions.
> >
> > This latest version with all Daniel's new stuff in it has now
> > hit 877Mb over the last 5 or 6 hours.
> 
> Aye - after posting my first reply I actually checked in on my backend, it had 
> been killed by the kernel for running out of memory - eek. Checking logs it 
> seems it was mid-eit crawl at the time. 
> 
> > The significant difference is that the EIT Scanner is changing
> > channels all the time. This points the finger at something in the
> > channel changing process.
> 
> This seems logical and possibly explains why the previously observed leak 
> seemed to be slower on my other, less used backend.

Hmmm, I looked at MPEGStreamData and found one. I just recently turned
on table caching for faster tuning, which was only used in the channel
scanner before. It wasn't properly cleaning up the cache, but it should
be now. I committed a fix a few minutes ago.

-- Daniel



More information about the mythtv-dev mailing list