SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux > SageTV for unRAID/Docker
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-02-2017, 06:40 PM
neurocis neurocis is offline
Sage User
 
Join Date: Jul 2009
Location: Kelowna, BC, Canada
Posts: 10
Exclamation 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.
Reply With Quote
  #2  
Old 04-03-2017, 04:02 PM
neurocis neurocis is offline
Sage User
 
Join Date: Jul 2009
Location: Kelowna, BC, Canada
Posts: 10
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.
Reply With Quote
  #3  
Old 04-05-2017, 08:44 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
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
Reply With Quote
Reply

Tags
java heap freezing


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


All times are GMT -6. The time now is 11:49 PM.


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