[mythtv] Memory leaks with 7385

Janne janne-mythtv at grunau.be
Wed Oct 5 22:55:41 UTC 2005


--On Wednesday, October 05, 2005 08:56:14 -0400 Daniel wrote:

> On Tue, 2005-10-04 at 23:21 +0100, Mark wrote:
>> >
>> Mine have improved since 7385, but still pretty bad.
>> Had to turn off EIT scanning so they would run overnight tonight.
>> In about an hour or so top would say using 50% of 512Mb, without EIT
>> it  hovers around 8%.
>
> EIT scanning leaks memory like crazy. It should slow down with
> non-continuous scanning, but if you really want to solve the
> problem run it through Valgrind and find the leaks.

Ok, the hugest (150 MB in 3h) leak is fixed with the attached patch. 
But there are many more. See attached valgrind log file.

ciao Janne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myth_eit_scanning_leak.diff
Type: application/octet-stream
Size: 587 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20051006/d8905029/myth_eit_scanning_leak.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myth_valgrind.log.bz2
Type: application/octet-stream
Size: 3381 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20051006/d8905029/myth_valgrind.log.obj


More information about the mythtv-dev mailing list