Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

script for memory usage monitoring

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


davilla at 4pi

Feb 3, 2008, 10:21 AM

Post #1 of 2 (458 views)
Permalink
script for memory usage monitoring

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.


_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stuarta at squashedfrog

Feb 4, 2008, 1:00 PM

Post #2 of 2 (374 views)
Permalink
Re: script for memory usage monitoring [In reply to]

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.

Stuart
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.