[mythtv] script for memory usage monitoring

Stuart Auchterlonie stuarta at squashedfrog.net
Mon Feb 4 21:00:15 UTC 2008

Scott D. Davilla wrote:
> I'm tracking a 4 block memory leak that occurs every few seconds. I'm 
> running on a AppleTV so valgrind is out as it takes too much cpu when 
> running. More on that later.
> In my google travels I've found a nice perl script for light weight 
> memory tracking. Grab the script from 
> http://www.schleef.org/~ds/mem_usage, make it executable, the watch 
> ./mem_usage <pid> will display a simple memory usage.

I use a script to grab the memory sizes of the backend and turn them
into an rrd graph. Making the eitcache static fixed the last of the
growths i was seeing.


More information about the mythtv-dev mailing list