[mythtv-commits] Ticket #11352: Leak in MythPainter::DrawTextLayout

MythTV noreply at mythtv.org
Wed Sep 18 18:23:32 UTC 2013


#11352: Leak in MythPainter::DrawTextLayout
---------------------------------------------+----------------------------
 Reporter:  Bradley Baetz <bbaetz@…>         |          Owner:  jpoet
     Type:  Bug Report - Memory Leak         |         Status:  assigned
 Priority:  minor                            |      Milestone:  0.27
Component:  MythTV - User Interface Library  |        Version:  0.26-fixes
 Severity:  medium                           |     Resolution:
 Keywords:                                   |  Ticket locked:  0
---------------------------------------------+----------------------------

Comment (by paulh):

 I wonder if what you are seeing here is the image caches filling up over a
 period of time?

 The software image cached is 96M alone which on my system takes a while to
 fill up but it does make it look like the FE is leaking when all it's
 doing is filling the cache.

 For example if you have a theme with the time on the main menu then each
 time the time updates a new image is created which gets added to the
 cache. If you observe the memory usage it looks like it's leaking but all
 that is happening is the memory cache is filling up. It will stop when it
 reaches the maximum size allowed.

 You could try lowering the cache sizes in mythpainter.cpp change the
 values passed to SetMaximumCacheSizes(96, 96);

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11352#comment:10>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list