|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
How do I increase the heap on Linux?
Not sure if this is the correct forum... but I'm playing around with V9 and The main reason is to increase the heap. How do I do that in Linux? I mostly remember how to in Windows.. but in linux, I have no idea.
Is it a Java setting? is it a Sage setting? Thanks, Jim |
#2
|
||||
|
||||
Ok.. I'll answer my own question! I had to do a google search to find it!
In the startsagecore script in the install directory there is a variable you have to change. Code:
PIDFILE=/var/run/sagetv.pid HEADLESS=true JAVAMEM=-Xmx2048m JAVAOPTS= |
#3
|
||||
|
||||
I think the correct way is to create/edit sagesettings and put the changes in there. ie, for my setup I have the following in my sagesettings.
Code:
export JAVAMEM=-Xmx1024m If sagesettings is not there and you create it, then make sure that you set the execute bit as well.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#4
|
||||
|
||||
So I create a file and put the stuff in there?
Do I need the #!/bin/bash at the top? So it looks like Code:
#!/bin/bash export JAVAMEM=-Xmx1024m Probably a much better way to do that! Thanks Sean! Jim Edit: Cool! It worked fine. Thanks again for that tip! Last edited by jbuszkie; 08-04-2016 at 06:59 AM. |
#5
|
||||
|
||||
And for others who might come along this thread: If you are using the Docker install, there is a setting in the container's 'advanced view' to set this.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#6
|
|||
|
|||
I'm a novice with Linux but I have my system working fine with v9 and OpenDCT. My JVM max had defaulted to 768 when I installed v9 so I created the script above to set it to 1024. Even though I set it to 1024, when I check in Setup-System Information it shows only 955mb. Is there anything else I should have changed?
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 |
#7
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#8
|
|||
|
|||
Thank you for the clarification. That explains it.
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |
Sage v7, HD200 & Random Problems - Java Heap Size Increase Helped | Savage1701 | SageTV Software | 2 | 12-17-2010 07:59 AM |
What's the right way to increase heap size? | loonsailor | SageTV Beta Test Software | 3 | 08-21-2010 02:01 PM |
How do I increase Java Heap Size in OS X? | merneric | SageTV Mac Edition | 15 | 11-10-2009 04:36 PM |
Need to increase volume | rdefino | SageTV Software | 2 | 09-05-2006 09:22 AM |