[mythtv-users] Possible Memory Leak?

Ken Thompson kent at kmtdesigns.com
Tue Jun 17 10:57:47 EDT 2003


I read your message yesterday Isaac.  Thank you for all your help, I'm
really a total linux newb.  Tonight I'm finishing up my reinstall of
Mythtv (the second time is always cleaner) and I will do more extensive
testing on its memory usage.

-----Original Message-----
From: mythtv-users-bounces at snowman.net
[mailto:mythtv-users-bounces at snowman.net] On Behalf Of Isaac Richards
Sent: Tuesday, June 17, 2003 9:47 AM
To: Discussion about mythtv
Subject: Re: [mythtv-users] Possible Memory Leak?

On Tuesday 17 June 2003 08:49 am, Timothy Vann wrote:
> I've just setup MythTv  for the first time and I seem to have a memory
> leak.  I'm running with a PVR-250, 512MB of ram and 512MB swap.
> Basically, everything starts up fine and runs for a few hours, then my
> system hangs tight because I'm out of memory.  I can watch the memory
> used gradually grow and killing off mythbackend doesn't recover the
> memory(hence why I think it's a leak).  If I don't start mythtv then
the
> box runs fine.  At this point I'm not sure if the leak is comming from
> MythTv or from the ivtv driver.  Just thought I'd see if anyone had
seen
> this same problem or had any suggestions.

If it were a memory leak in mythtv, killing off the process would free
the 
RAM.  Leaked memory in a userland application doesn't stick around after
the 
application is gone.

As I posted yesterday, but apparently no one read:

To get the _real_ amount of ram that's used/free on a system, run 'free'
from 
a command line, and look at the -/+ buffers/cache line.  The top line
(which 
is what is reported by 'top' and pretty much every system monitoring
app), 
includes all your internal kernel buffers, etc, that are freed as
necessary.

Isaac
_______________________________________________
mythtv-users mailing list
mythtv-users at snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list