SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-22-2010, 06:26 AM
valnar valnar is offline
Sage Icon
 
Join Date: Oct 2003
Posts: 1,252
Send a message via ICQ to valnar
SageTV Service memory leak?

Does anyone else have a memory leak with the SageTV service? Upon bootup, it takes about 170MB of RAM. After a week or so, it's up to 450MB. A reboot clears it back down.
Reply With Quote
  #2  
Old 03-22-2010, 08:43 AM
MitchSchaft MitchSchaft is offline
Sage Expert
 
Join Date: Jan 2008
Posts: 717
It depends on what all you're doing as to how much memory it uses up. But you see is not a memory leak.
Reply With Quote
  #3  
Old 03-22-2010, 10:58 AM
JetreL's Avatar
JetreL JetreL is offline
Sage Aficionado
 
Join Date: Jun 2008
Location: Charlotte, NC
Posts: 388
I wouldn't call that a memory leak just standard SageTV. Like MitchSchaft said it really depends what SageTV is doing for you? I personally set my Java Heap Size to 1024 Megs so that I know that amount of ram is allocated to Sage. Sage generally lurks around the 500-600 MB used and I can go months without rebooting. (If I stop tinkering...) I use 2 HDPVRs, 1 hdhomerun (both ports), 2 extenders, and a placeshifter client from time to time. All that and sage never seems to grow much beyond that...
Reply With Quote
  #4  
Old 03-22-2010, 11:15 AM
valnar valnar is offline
Sage Icon
 
Join Date: Oct 2003
Posts: 1,252
Send a message via ICQ to valnar
Ah....thanks. I never watched it that closely before, only that it was high.
Reply With Quote
  #5  
Old 03-22-2010, 11:33 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
If it plateaus at a certain level after a few days, that's not a leak; that's normal behavior. Some stuff (like UI graphics) doesn't get loaded immediately on startup but waits until you actually call for it.

If memory usage keeps going up week after week, with no upper limit, that would be a leak.
__________________
-- Greg
Reply With Quote
  #6  
Old 03-22-2010, 07:31 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
What should you set your Java heap size to? Is this the JVMMaxHeapSizeMB? Mine is set to 0. My system has two HD-PVRs, an OTA tuner, an analog tuner, 4xHD-200s, one Sage Client PC and occasional Placeshifter clients. My Sage server OS is WHS with 2 GB of RAM.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #7  
Old 03-22-2010, 08:57 PM
paulbeers paulbeers is offline
SageTVaholic
 
Join Date: Jun 2005
Posts: 2,550
It defaults to 256 (even if it is set as 0). In the System Information, there are a few numbers in there that relate to your java heap size. The numbers will look something like ### / ### / ###. Group one is how much memory the current Java heap is using, the second number is the highest amount of memory Sage has used since the last restart, and the last number is the overall amount it can use. The right amount really varies by system depending on how many thumbnails and how many extenders you are using, but if the second number ever equals the last number then Sage will run slower overall as it means that data has to be cleared out to make room for new requests. I currently have mine set to 768 (I believe) although I probably could get away with 512mb allocated.
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage
Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's
Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter
Reply With Quote
  #8  
Old 03-22-2010, 09:03 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Thanks Paul - my numbers are 260/400/400 so it looks like I am maxing out. I guess I should raise the number. What value do you have in the Registry setting - 768 (in decimal) or 300 hex? Do you have to restart you system to have this setting reflected or just stop and start the Sage service?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #9  
Old 03-23-2010, 04:56 AM
paulbeers paulbeers is offline
SageTVaholic
 
Join Date: Jun 2005
Posts: 2,550
Quote:
Originally Posted by wayner View Post
Thanks Paul - my numbers are 260/400/400 so it looks like I am maxing out. I guess I should raise the number. What value do you have in the Registry setting - 768 (in decimal) or 300 hex? Do you have to restart you system to have this setting reflected or just stop and start the Sage service?
Yep you definitely need to up it. I always just leave it in Hex and just type in 300. And no you don't need to restart your computer, but you do need to shut down the Sage Service and restart after you have changed the registry. You should then be able to look in the System Info and see the updates .
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage
Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's
Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV Process Memory Leak? brandypuff SageTV Software 13 10-14-2008 05:14 PM
Memory Leak in SageTV Transcoder EdwardATeller SageTV Software 2 03-04-2008 11:47 AM
SageTV client memory leak? hocky98 SageTV Software 18 12-08-2006 01:32 AM
Runaway Memory Leak in SageTV Service morpheus SageTV Software 24 04-24-2006 12:40 PM
Possible Memory Leak? Opopanax SageTV Software 6 02-04-2005 04:28 PM


All times are GMT -6. The time now is 12:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.