SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-08-2009, 10:18 AM
dead_ferrets dead_ferrets is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Ottawa, Ontario, Canada
Posts: 145
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?
Reply With Quote
  #2  
Old 12-08-2009, 01:25 PM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Are you using the default interface, I see that more with user scripts then vanilla SageTV.
Reply With Quote
  #3  
Old 12-08-2009, 01:31 PM
dead_ferrets dead_ferrets is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Ottawa, Ontario, Canada
Posts: 145
No I'm using SageMC on two HD-200 extenders that are connected to Sage running of my WHS.
Reply With Quote
  #4  
Old 12-08-2009, 04:24 PM
Chriscic Chriscic is offline
Sage Expert
 
Join Date: Apr 2008
Posts: 729
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.
Reply With Quote
  #5  
Old 12-08-2009, 04:59 PM
dead_ferrets dead_ferrets is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Ottawa, Ontario, Canada
Posts: 145
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.
Reply With Quote
  #6  
Old 12-08-2009, 07:17 PM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Go back to vanilla sage and see if it is still happening.
Reply With Quote
  #7  
Old 12-08-2009, 09:32 PM
dead_ferrets dead_ferrets is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Ottawa, Ontario, Canada
Posts: 145
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.
Reply With Quote
  #8  
Old 12-08-2009, 11:21 PM
HelenWeathers's Avatar
HelenWeathers HelenWeathers is offline
Sage Icon
 
Join Date: Aug 2008
Location: Miami, Florida
Posts: 1,321
Quote:
Originally Posted by dead_ferrets View Post
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.
I think the "Going back to vanilla sage" was a suggestion to get you back to square one to troubleshoot your java issue.

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
Reply With Quote
  #9  
Old 12-09-2009, 07:15 AM
dead_ferrets dead_ferrets is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Ottawa, Ontario, Canada
Posts: 145
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.
Reply With Quote
  #10  
Old 12-09-2009, 11:03 AM
sic0048 sic0048 is offline
Sage Icon
 
Join Date: Nov 2007
Posts: 1,400
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
Reply With Quote
  #11  
Old 12-10-2009, 09:38 AM
sportera sportera is offline
Sage Advanced User
 
Join Date: Nov 2006
Posts: 157
Quote:
Originally Posted by dead_ferrets View Post
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.
While I've only had 1 lockup (hope this doesn't trigger bad carma with my system) from my (2) - 2 week old HD-PVR's, and that was after I made changes to the device configs in TME, my main problems have been video and audio studder. And the studder is worse when running SageMC. I've had to revert to vanilla SageTV to get to a somewhat liveable operating environment. I miss my SageMC but until I can get my studder problems eliminated while using SageMC, I'm resolved to using vanilla SageTV to keep my growing frustrations under control.

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?
Reply With Quote
  #12  
Old 12-10-2009, 09:54 AM
dead_ferrets dead_ferrets is offline
Sage Advanced User
 
Join Date: Feb 2009
Location: Ottawa, Ontario, Canada
Posts: 145
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.
Reply With Quote
Reply


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


All times are GMT -6. The time now is 04:14 PM.


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