|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Sage 6.2 memory use
Sage 6.2, Service, XP SP2... Latest Java VM...
Running fine for many weeks. Memory use over 200MB. Stop, then restart Sage Service. Now memory use is 90MB. Is this just Java procrastinating garbage collection? Or a memory leak? |
#2
|
||||
|
||||
Or in the course of those many weeks of uptime, you've viewed a lot of thumbnails and loaded a lot of images into the image cache.
I wouldn't expect the memory footprint right after a restart to be typical of the long-term steady-state memory footprint.
__________________
-- Greg |
#3
|
|||
|
|||
viewing images - no, I use only TV recording. I haven't configured photo viewing, nor do I play music.
|
#4
|
||||
|
||||
Even TV recordings have thumbnails in the current UI, unless you've disabled that feature or are using a different UI.
__________________
-- Greg |
#5
|
||||
|
||||
I assume Memory Usage figure you mentioned is the Windows Task manager memory usage column -- ie RAM usage/working set, not total allocated memory.
Frankly, on a VM system, this can be considered a random number as RAM will be swapped in/out depending on system and other process's memory requirements. VMSize is a more useful indication of a process's memory usage, as this indicates total allocated memory (both swapped in and out) Anyway, on my Client (so no recording engine, no MVPs etc), after startup and playing a video, my VM size is 190Mb. (Memory usage varies between 40-140Mb depending on what is going on). Note that only 97Mb of this is Java managed memory -- the rest would be allocated by native code, windows DLLs, video filters etc. (If you really want to monitor memory usage, try my cpu/mem plugin -- it monitors RAM, VM, JVM usage for Sage, as well as the system, and can graph it over time)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#6
|
|||
|
|||
Quote:
(And you spoke of the client whereas I'm discussing the server - XP service.) It has not been a problem with impact. Just wondering. I will make a habit of stopping and restarting the service every couple of weeks Last edited by stevech; 12-18-2007 at 02:23 PM. |
#7
|
||||
|
||||
If it never stops increasing then yes you have a problem. But you will usually see it reach a plateau. 200 MB is not unreasonable for SageTV. Mine is always around 180-200 MB. I run it for months. The only reason I usually reboot is to install an update. (Sage or Windows) I think the longest I went without a reboot was like 6 or 7 months. (Server)
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#8
|
||||
|
||||
Quote:
So unless you have more data points you're not showing us, I think it's premature to conclude that there's a problem. If what you're seeing is normal, then restarting periodically won't help, and might actually slow things down by flushing caches that didn't need to be flushed.
__________________
-- Greg |
#9
|
|||
|
|||
My service also gets up there but plateaus and doesnt' seem to be an issue.
I've only really had two memory issues, which weren't the fault of sagetv. 1) Leaking handles by Java 1.5.0 (until it was fixed in one of the later releases 11 I think) 2) Leaking handles from my POS artecDTV driver. I do think that that Media Server software uses a lot of memory by design (caching/indexing data and whatnot). I recently tried out TVersity and it was using more than sage was... E |
#10
|
|||
|
|||
OK. I had read about leaks in Java. It is so hard to write software without leaks due to Microsoft's OS.
So it looks like 200MB is not unusual (!) Last edited by stevech; 12-18-2007 at 11:38 PM. |
#11
|
|||
|
|||
The amount of memory used also has to do with how large of a media library you have. Someone with a few thousand songs such as myself. I had to increase the default JVM Heap Size because I was bumping into the 200MB limit. My current JVM heap is as follows (Used/Total/Max) 187MB/247MB/533MB. I don't know that my server ever gets close to the 533MB max but it does get above the 200MB default max. I started noticing it when my MVP and Placeshifter were running kind of sluggish. Increasing the heap size made both much more responsive.
I'm of the opinion that it's probably time for Frey to consider increasing the default JVM heap size. It seems to me that because storage is so large and cheap now more people are bumping into that 200MB limit than they once were. |
#12
|
|||
|
|||
Has anyone seen VM usage like this during HD playback?
System is XP sp3 2gb ram Sage 6.4x SageMC Nvidia 8600 gts server/playback on same system. ( no extender used) System usually lists 1.0+ GB free system memory. |
#13
|
|||
|
|||
It's about half mine which does oddly start out about 90mb as well. I have several hundred recordings and favorites, several thousand songs and photographs and 10 sources.
Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sage 6.2 on Vista -- "Boxes" instead of letters in Interface | webdad | SageTV Software | 2 | 12-08-2007 05:13 PM |
Sage memory use | tsitalon1 | SageTV Software | 9 | 01-30-2007 02:59 PM |
Sage UI disappears during playback | Keith | SageTV Software | 17 | 03-03-2006 03:31 AM |
Sage DVD Player vs. Zoom/TT Players | Jesse | SageTV Software | 47 | 02-17-2006 02:34 PM |
my new favorite way to configure nvidia card for sage | aoehlke | Hardware Support | 0 | 11-22-2005 11:15 AM |