[mythtv-commits] Ticket #3317: mythbackend memory leak

MythTV mythtv at cvs.mythtv.org
Tue Jul 3 16:49:43 UTC 2007


#3317: mythbackend memory leak
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  stuarta 
     Type:  defect     |       Status:  assigned
 Priority:  minor      |    Milestone:  0.21    
Component:  mythtv     |      Version:  head    
 Severity:  medium     |   Resolution:          
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by anonymous):

 I get a lot of these using pmap:
 {{{
 b20b4000    8188 rwx-- 00000000b20b4000 000:00000   [ anon ]
 }}}
 in fact:
 {{{
 pmap -d `pidof mythbackend` | grep 8188 | wc -l
 84
 }}}
 I believe these are stack allocations from each time a new thread is
 created, so it implies that maybe we're not joining/terminating threads
 properly (this is after about 3 days with mythbackend using 774MB of
 virtual memory)
 Is there a quick way to determine which thread a block of memory belongs
 to, and where that thread got created?

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3317#comment:20>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list