|
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 |
#21
|
||||
|
||||
Quote:
|
#22
|
|||
|
|||
I created a clean Win 10 test system and performed various install tests and in every case I am able to just search the register for "JVMMaxHeapSizeMB" and change the value to 400 and SageTV does not overwrite this value.... it stays at 400 and the Heap is at 1038 in the System Information screen.
So obviously something else is blocking this so we need to collect some info from those having this issue.... like OS, x86 vs x64, upgrade over v7 or clean install, upgrade over a previously manually upgraded system etc. k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#23
|
|||
|
|||
jusjoken,
Can you maybe build them a launcher.exe with some debug logging in it? That may help to see if it fails to access the key or find the value. Both cause the default of 768. |
#24
|
|||
|
|||
Quote:
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#25
|
|||
|
|||
I just completed a v7 to v9 upgrade, and my Java Heap setting also got changed to 779 instead of the 1024 I had previously set in v7.
When I went into Regedit and searched for all instances of JVMMaxHeapSizeMB, I found several (at least three or four). All but ONE of them still had the desired hex 400 / decimal 1024 setting, but that last one that had a setting of 0. I changed it to 1024, restarted SageTV, and all was well. I think the OP claimed that he only found one instance of JVMMaxHeapSizeMB in the registry. While I won't dispute that, I'll note that a common issue with searching the registry is accidentally starting somewhere within the registry rather than at the top (searches are top to bottom). Regedit opens to where ever you were the last time you were in the registry, so unless you take the deliberate step of moving the cursor to the top of the registry before starting the search, the search may be incomplete. My hunch is that there is still a 0 setting in there somewhere.
__________________
Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121 Server operating headless with 3 HD300 extenders as clients Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware Comcast cable TV, two cablecards in HDHRP's OpenDCT 0.5.28 network encoder |
#26
|
|||
|
|||
Quote:
thanks for posting your positive experience. k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#27
|
|||
|
|||
Quote:
HKEY_CLASSES_ROOT\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\SageTV HKEY_CURRENT_USER\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\SageTV HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\SageTV HKEY_USERS\S-1-5-21-1920200382-3535082570-624732948-1000\SOFTWARE\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\SageTV HKEY_USERS\S-1-5-21-1920200382-3535082570-624732948-1000_Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\SageTV Unfortunately, I didn't notice WHICH of these was the one that got reset to 0 when I ran the v9 Installer. I believe that it MAY have been the first HKEY_USERS entry, since I vaguely remember finding three entries correctly set to 1024, then one set at 0 (which I changed to 1024), then another one set to 1024.
__________________
Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121 Server operating headless with 3 HD300 extenders as clients Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware Comcast cable TV, two cablecards in HDHRP's OpenDCT 0.5.28 network encoder |
#28
|
|||
|
|||
Quote:
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#29
|
||||
|
||||
Alternatively, i don't really see harm at this stage changing the default to 400h in the launcher, to simply avoid this issue going forward.
__________________
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 |
#30
|
|||
|
|||
Yes, it was an in-place upgrade from Win 7 to Win 10, during the free upgrade period. And yes, I suspected that duplicate entries might have resulted from that. I've seen that happen with multiple versions of the application itself as well, although in this case I did a clean install of SageTV v7 on Windows 7 a couple of years prior to the Windows 10 upgrade.
__________________
Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121 Server operating headless with 3 HD300 extenders as clients Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware Comcast cable TV, two cablecards in HDHRP's OpenDCT 0.5.28 network encoder |
#31
|
||||
|
||||
I found a Frey Technologies key in 3 or 4 places but the only key that had a SageTV and JVMMaxHeapSizeMB entry was here...
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Frey Technologies\SageTV\JVMMaxHeapSizeMB Do you think I need to manually add this information to the other locations to get Sage to accept the setting?
__________________
SageTV User Since 2009 Server Hardware: AMD FX6100, 6 Cores, 3.3GHz, 8GB RAM, TA970XE MB, 3TB HD, HVR-2250, HD-PVR, nVidia 9600GT 512MB Server Software: SageTV 9, Windows 10 64bit, EventGhost Client Hardware: HD200 x2, INT-422-3 & WR7 Remote Service Provider: Cablevision (QAM to 2250, SamsungBox to HDPVR) |
#32
|
|||
|
|||
Quote:
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
#33
|
|||
|
|||
Quote:
The thing that's odd is that having those keys missing would seem to indicate that a maximum Java Heap Size was never set on your installation (so the defaults are getting used), vs. having it previously set to 1024. But I don't know how SageTV works in that regard, so I could be wrong. I think once upon a time I may have used some SageTV utility or plug-in to set the Java Heap Size (vs. manually editing the registry), and it may have added some keys that aren't part of the normal installation.
__________________
Windows 10 Home 64-bit, i5-2500K, 8GB RAM, 2TB and 4TB SATA HDD's SageTV v9.1.2.662, SageTV7.xml STV, Java v1.8.0_121 Server operating headless with 3 HD300 extenders as clients Two HDHomeRun Primes (6 tuners) with 20170512beta1 firmware Comcast cable TV, two cablecards in HDHRP's OpenDCT 0.5.28 network encoder |
#34
|
||||
|
||||
I just re-searched my registry and confirmed only one JVMMaxHeapSizeMB entry at: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Frey Technologies\SageTV\
Again, if I delete this entry, Sage adds it back with a 0 value, so it seems to be looking at this value at startup, but just doesn't implement the 400 value for me. Perhaps a plugin could be messing with this? I am using the latest beta for Phoenix and the web interface. Other stats are that upgraded from v7, am running Win 10 64, and have 32-bit Java 1.8.0_111. Noticed there was a Java update available to version 1.8.0_121, but updating didn't help either. Last edited by Evil_Attorney; 02-07-2017 at 11:17 AM. |
#35
|
||||
|
||||
The heap is set up long before any plugins are close to looked at, so I can't imagine that has anything to do with it.
__________________
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 |
#36
|
||||
|
||||
Quote:
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson |
#37
|
||||
|
||||
Babgvant (Andy vt,s Tool & Blog) has a Sage registry application. One of the things it will set is the Java heap.
http://babgvant.com/files/10/default.aspx It is meant for SageTV v7 but i have recently used against v9 and all seems OK (it did change the Java heap size)
__________________
"Unencumbered by the thought process" The only constant in the Universe is change. |
#38
|
|||
|
|||
I was seeing a similar issue yesterday after having upgraded my client to the latest version and it turned out the Sage Client app didn't have proper permission to the REG keys so it was ignoring my change to max out the memory at 400h and my disabling of the sagetv demux.
I tried opening it as administrator and noticed it worked correctly then I changed reg permissions to give "everyone" full control and it works fine now without needing to open as administrator. |
#39
|
||||
|
||||
I think this is something the installer WAS setting when creating those keys initially, but on upgrades, it might not be touching the permissions.
__________________
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 |
#40
|
|||
|
|||
Quote:
k
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
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 |
Java Heap Max Message Question | kcjack | SageTV Software | 4 | 06-13-2011 08:03 AM |
Debugging the Java Heap | tmiranda | SageTV Studio | 4 | 10-19-2010 05:55 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 |