SageTV Community  

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

Notices

SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-21-2010, 11:38 AM
loonsailor loonsailor is offline
Sage Advanced User
 
Join Date: Jul 2009
Location: Berkeley, CA, USA
Posts: 176
What's the right way to increase heap size?

I just switched over to v7. Looks great! But, my java heap monitor plugin shows the heap as being dangerously full. What is the "approved" way to increase it? In v6, I did so by editing startsage, but of course that got overwritten by the update and, in any case, just seems wrong. In v7, I could do it by editing startsagecore but, once again, that seems kind of ugly.

Is there a better place to override the default heap size?

I'm running on linux, on the unlikely chance that it matters.

Thanks.
Reply With Quote
  #2  
Old 08-21-2010, 01:11 PM
jptheripper jptheripper is offline
Sage Fanatic
 
Join Date: Dec 2007
Location: Florida
Posts: 956
You can increase the max memory size for SageTV by creating this registry
setting as a DWORD:

HKEY_LOCAL_MACHINE\SOFTWARE\Frey Technologies\SageTV\JVMMaxHeapSizeMB

Go to start, run and type in regedit. Go to this path
HKEY_LOCAL_MACHINE\SOFTWARE\Frey Technologies\SageTV\ and right click on the
SageTV folder and select New - DWORD Value. Name it "JVMMaxHeapSizeMB"
without the quotes and hit enter.

Set the value in MB (MegaBytes). 0 means use the default, which is 192MB.

Try setting it to 384MB and then it should be fine. If you have LOTS of RAM
then you can set it even higher if you want.

(this is response from George. mine is now set at 1024MB)
__________________
Gigabyte GA-MA770-DS3/4gb DDR2/AMD Phenom 955 3.2ghz Quad Core
Windows 7 64bit Home Premium
Hauppauge 1600/1850/2250/colossus/2650(CableCard 2 tuner)
8tb RAID5 storage/media/other &3tb RAID5 backup storage on a HighPoint RocketRaid 2680
1tb 3 disk Recording Pool
all in a beautiful Antec 1200
SageMyMovies/Comskip/PlayON/SageDCT/SRE
HD100/HD300 extenders
Reply With Quote
  #3  
Old 08-21-2010, 01:18 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by loonsailor View Post
I just switched over to v7. Looks great! But, my java heap monitor plugin shows the heap as being dangerously full. What is the "approved" way to increase it? In v6, I did so by editing startsage, but of course that got overwritten by the update and, in any case, just seems wrong. In v7, I could do it by editing startsagecore but, once again, that seems kind of ugly.

Is there a better place to override the default heap size?

I'm running on linux, on the unlikely chance that it matters.

Thanks.
In sage7, you can use a sagesettings file in the same dir as startsage. This file is sourced by the startsage/stopsage scripts, and you can put any of the variables here that you would normally put/edit in the startsage script.

My scripts looks like this...
Code:
PIDFILE=sagetv.pid
HEADLESS=false
JAVAMEM=-Xmx784m
I tell the PIDFILE to write to the current dir because I run sage as a normal user.
HEADLESS is there so that can run studio
JAVAMEM is where you put your mem args
Reply With Quote
  #4  
Old 08-21-2010, 02:01 PM
loonsailor loonsailor is offline
Sage Advanced User
 
Join Date: Jul 2009
Location: Berkeley, CA, USA
Posts: 176
Thanks!

That does it. Thanks for the prompt help.
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
How do I increase Java Heap Size OldPCGUY SageTV Software 30 03-26-2017 02:12 PM
Java Heap Size craigap SageTV Media Extender 21 03-27-2010 10:53 AM
How do I increase Java Heap Size in OS X? merneric SageTV Mac Edition 15 11-10-2009 04:36 PM
Heap Size and Stuttering vividweb SageTV Software 5 06-02-2008 04:33 PM
Jvm Heap Size broderp SageTV Software 6 08-30-2004 02:31 PM


All times are GMT -6. The time now is 01:28 AM.


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