|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Request tunable: Java Heap Minimum
Hi, I see there is a tunable JAVA_MEM_MB for Max heap -Xmx, I would like to request an JAVA_MEM_MIN_MB (or similar) for -Xms.With my particular setup I believe I am running into issues when the Garbage Collector triggers and freezing. It looks like the default is approx 256MB whereas I can afford 1GB.
Also is there a github for this docker? Thanks for building this and maintaining it btw! Cheers. |
#2
|
|||
|
|||
Found the repo and affected area (sagetv-base/init.d/25-update-memory), I will send stuckless a PR once I have tested the changes.
|
#3
|
||||
|
||||
Since most would not ever need this option, I don't think it makes sense to put it into the docker template. Because of the way the init.d scripts are run, however, you could create your own script to add this setting, and add it to the init.d folder. The scripts are launched in numerical order, so you should be able to add a script that adds adds the -Xms1024m to the JAVAMEM setting in the sagesettings file.
__________________
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 |
Tags |
java heap freezing |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Java HEAP Size | NoodleNT | Gemstone for v7 | 4 | 11-14-2012 12:20 PM |
SageTVService and Java heap | sleonard | SageTV Software | 1 | 03-16-2011 05:37 PM |
HD-PVR and java heap | dead_ferrets | Hardware Support | 11 | 12-10-2009 09:54 AM |
Java Heap help | gibsonpa | SageTV Software | 3 | 08-06-2008 03:11 PM |
Java Heap in vista | hellsingfan | SageTV Software | 3 | 06-29-2008 06:57 PM |