[mythtv-commits] Ticket #10630: Memory leak when subtitles are "on"

MythTV noreply at mythtv.org
Thu Apr 19 15:03:09 UTC 2012

#10630: Memory leak when subtitles are "on"
     Reporter:  Mossy <nosepam-mythtv@…>  |      Owner:  stichnot
         Type:  Bug Report - General      |     Status:  new
     Priority:  minor                     |  Milestone:  unknown
    Component:  MythTV - Captions         |    Version:  0.25-fixes
     Severity:  medium                    |   Keywords:  subtitles memory
Ticket locked:  0                         |  leak
 Most of the channels that I get ignore the "Subtitles Font" setting (which
 is fine by me). However, I get memory leaks on the channels that do use
 the "Subtitles Font", specified on the "Playback OSD" screen, when the
 subtitles are on.

 The memory used by the FE increases until the FE becomes unusable. On some
 programmes this can happen in less than an hour on a machine with 4GB of
 ram. Happens with both LiveTV and Recordings. Stopping playback (i.e.
 going back to the main menu) does not free up the memory.

 Also seen in 0.24.

 To reproduce:
 1. Watch a channel that sets the subtitle font according to the setting on
 the "Playback OSD" page (or watch a recording made on such a channel).
 2. Turn the subtitles on, if they are not already on.
 3. Observe the FE memory usage (e.g. "top")

 Expected results:
 FE memory usage does not increase significantly while the programme is
 being watched/played back.

 Actual Results:
 FE memory usage increases proportionally to the amount of subtitles shown
 on screen until all available memory is used up.
 Stopping playback back does not free up memory.

Ticket URL: <http://code.mythtv.org/trac/ticket/10630>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list