[mythtv-commits] Ticket #5971: stream reading eats up all memory in all myth apps

MythTV mythtv at cvs.mythtv.org
Fri Dec 5 11:12:40 UTC 2008


#5971: stream reading eats up all memory in all myth apps
------------------------------------------+---------------------------------
 Reporter:  Hans-Peter Oeri <hp at oeri.ch>  |       Owner:  ijr    
     Type:  defect                        |      Status:  new    
 Priority:  blocker                       |   Milestone:  unknown
Component:  Video Playback                |     Version:  head   
 Severity:  medium                        |     Mlocked:  0      
------------------------------------------+---------------------------------
 Recently, I noticed a server halting. mythbackend on preview generation
 took up all memory. Upon further inspection, both mythtranscode and
 mythcommflag do the same.

 mythcommflag on a 20MB sample stream eats up 120MB of memory - for full
 recordings, the system runs OOM. Of course, I tried to "rebuild"
 seektables, but the bug seems to be "before" that.

 From valgrind's/massif's output, it seems that from
 AVFormatDecoder::!OpenFile on, av_malloc'ed and av_mallocz'ed memory is
 never freed.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5971>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list