[mythtv-users] Front end memory usage

Michael T. Dean mtdean at thirdcontact.com
Sat Oct 29 19:13:50 EDT 2005


Alberto Alonso wrote:

>On Sat, 2005-10-29 at 15:40 -0400, Michael T. Dean wrote:
>  
>
>>Alberto Alonso wrote:
>>
>>>I am experimenting with a diskless setup based on Knoppmyth R5A16
>>>
>>>After the frontend is done resizing things, memory usage of the
>>>mythfrontend process starts to increase from 18M (right after the
>>>resizing is done) to 107M of Resident memory (virtual is at 171M)
>>>
>>>Trying to run the weather plugin kills the frontend, as I only
>>>have 256M RAM and it runs out of memory.
>>>
>>>So, the question is, where is the frontend memory going? It seems
>>>that 107M of resident RAM just to display the main menu is quite
>>>excessive. Did I miss-configure my system?
>>>
>>Mine is using 17M physical memory (16M shared) and 58M virtual memory 
>>while displaying the main menu after 44 1/2 CPU hours (just upgraded my 
>>TV to a digital TV, so I had to change my resolution) during which I've 
>>watched several shows and used plugins--and I'm now using a 1920x1080 X 
>>and Myth GUI resolution.
>>
>>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  
>>COMMAND          
>>  660 root       9   0 58284  17m  16m R  0.7  3.5  44:28.03 
>>mythfrontend     
>>
>>So, the only help I can really provide is that this is not normal and is 
>>not a Myth bug.  So, it's probably a configuration problem.  The 
>>question then becomes, "Configuration of what?"
>>
>Thanks, at least this confirms that it is something that
>can be fixed.
>
>What myth plugins are you using? My next step is to remove
>them one by one and see if that helps.
>  
>
I've got MythControls, MythDVD, MythGallery, MythGame, MythMusic, 
MythNews, MythVideo, MythWeather, and MythStream (not MythStreamTV) 
installed (and MythWeb, but that doesn't even touch mythfrontend).

I just went in to MythWeather and got this while it was displaying the 
weather:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  
COMMAND          
  660 root       9   0 59972  19m  12m S  1.3  3.8  49:12.06 
mythfrontend     

and after

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  
COMMAND          
  660 root       9   0 59976  19m  13m D  1.3  4.0  49:12.94 
mythfrontend     

Happy hunting.

Mike


More information about the mythtv-users mailing list