|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
HD-PVR and java heap
Hey folks,
I have noticed that my HD-PVR seems to be reliably locking up (requiring power cycle) when my java heap maxes out. My extenders get very laggy when this happens too. Java heap set to 768. What puzzles me is that when I restart the server and look at my java heap it's only using about 200. As I use the extenders more and more the used java heap number goes up, almost like the memory usage isn't be released when the extenders are powered off. Any thoughts? Is there a way to 'refresh' the java heap? |
#2
|
|||
|
|||
Are you using the default interface, I see that more with user scripts then vanilla SageTV.
|
#3
|
|||
|
|||
No I'm using SageMC on two HD-200 extenders that are connected to Sage running of my WHS.
|
#4
|
|||
|
|||
The "java heap" theory of HD-PVR lock-up causation comes up periodically.
Can you give more detail? Is it sure-fire that HD-PVR lock-up once a certain level is reached? What level is that? The 768 you mention? How are you monitoring the Java heap? I'm skeptical that this is the cause, but nonetheless I'd like to take a look at this myself but am not sure how to. Thanks. |
#5
|
|||
|
|||
Hey Chris,
It's hard to know if anything is sure fire with HD-PVR lock-ups. Since I'm not sure how to load up the java heap, I can't test it empirically. What I can say is that it's locked up three times now and each time has coincided with maxed out java heaps and dramatic slowing of the UI and video streaming. I keep adding the the java heap and sage just seems to keep eating it up. I'm now up to 1024. I'm monitoring the java heap through the system information area of sagemc. The last lockup I had set the heap to 768 but for some reason it showed as a max of 799 in the system. The lock-up occured when it hit that max. |
#6
|
|||
|
|||
Go back to vanilla sage and see if it is still happening.
|
#7
|
|||
|
|||
Going back to vanilla sage is a logical troubleshooting step and a totally reasonable suggestion, but to be honest I'd rather stick a fork in my eye.
Also, it seems to me that there are lots of folks running stable HD-PVRs who are using SageMC. |
#8
|
||||
|
||||
Quote:
Sage runs on the java foundation and if your java is not stable, neither will be your Sage. And therefore your HD PVR under Sage. Try reinstalling your java version or revert to a more stable java version. (I'm still running java 6u15 which is very stable). IMO, Your first priority should be to get your java install working properly.
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT |
#9
|
|||
|
|||
Thanks. I do appreciate the suggestion and I it makes perfect sense but I'd rather find another way to troubleshoot java stability. Using the default STV is just not an option in my house and I don't have a test environment to use.
I did notice this morning that the java heap was cleaned up overnight, it was at around 600MB before I went to bed and it's now down to around 150MB. I've upped the heap to 1024 so let's see what happens, a lock-up before the heap reaches max or a lock-up that coincides with a max heap...or, miracle of miracles, no maxing out of the heap and no lock-ups!! Thanks to all for the help and support. |
#10
|
|||
|
|||
I cranked up my Java heap amount in the past to see if it would increase some of the menu speeds on my extender. I recently loaded the Java Heap monitor and I use the standard STV. I was surprised to see how little of the jave heap a use. I've never seen it really increase either.
I'm running 1 HD-PVR and 1 HD-100 extender, so clearly I'm not taxing my system. But I certainly don't see Java Heap Creep using the standard STV.
__________________
i7-6700 server with about 10tb of space currently SageTV v9 (64bit) Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable) OpenDCT HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party) Amazon Firestick 4k and Nvidia Shield using the MiniClient Using CQC to control it all |
#11
|
|||
|
|||
Quote:
By the way, I'd like to try adjusting Java Heap to see if it helps my system. How do you do it? Is the adjustment a line item in the SageTV properties file? |
#12
|
|||
|
|||
I used the Sage Registry settings tool found in the downloads section.
Stop the sage service and change the max java heap from 0 to your desired heap size, e.g., 512, 768, 1024 press save and restart the sage service. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Java Heap Size | rickgillyon | SageTV Beta Test Software | 48 | 12-14-2011 04:47 AM |
Java Heap Size | craigap | SageTV Media Extender | 21 | 03-27-2010 10:53 AM |
HD-PVR lockup related to Java heap size? | troll5501 | Hardware Support | 14 | 11-04-2009 02:03 PM |
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 |