SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-30-2016, 07:08 AM
Pelicanjoe Pelicanjoe is offline
Sage Advanced User
 
Join Date: Aug 2009
Location: Huntersville, NC
Posts: 149
trouble with windows build

Has anyone else had problems with Windows v9 Java heap being consumed at a rapid pace? I'm clearing the heap about twice a day. I'm running version 1.8.0_91. I used "SageTVSetup_9.0.4.232_RC1.000" to set up Sage. Everything seemed to work fine, now it is eating up Java memory and also giving me "capture device failure while starting data scanning".

Anyone have any suggestions? I've removed defender realtime scanning on sage folders. I've reinstalled java.

Thanks!

Joe
Reply With Quote
  #2  
Old 05-30-2016, 01:29 PM
trallyus trallyus is offline
Sage Aficionado
 
Join Date: Jul 2010
Posts: 392
Quote:
Originally Posted by Pelicanjoe View Post
Has anyone else had problems with Windows v9 Java heap being consumed at a rapid pace? I'm clearing the heap about twice a day. I'm running version 1.8.0_91. I used "SageTVSetup_9.0.4.232_RC1.000" to set up Sage. Everything seemed to work fine, now it is eating up Java memory and also giving me "capture device failure while starting data scanning".

Anyone have any suggestions? I've removed defender realtime scanning on sage folders. I've reinstalled java.

Thanks!

Joe
What do you have your java heap size set at?
Reply With Quote
  #3  
Old 05-30-2016, 06:03 PM
Pelicanjoe Pelicanjoe is offline
Sage Advanced User
 
Join Date: Aug 2009
Location: Huntersville, NC
Posts: 149
Quote:
Originally Posted by trallyus View Post
What do you have your java heap size set at?
JVMMaxHeapSizeMB - 1024 (Decimal)
Reply With Quote
  #4  
Old 05-31-2016, 12:26 AM
trallyus trallyus is offline
Sage Aficionado
 
Join Date: Jul 2010
Posts: 392
Quote:
Originally Posted by Pelicanjoe View Post
JVMMaxHeapSizeMB - 1024 (Decimal)
I have mine set to that too but certain programs I have tend to make SageTV not load up if I leave them run at start up I noticed.

I have not had much problems with the new SageTV other then that and my tuners not being as sensitive as they used to be.

I am hoping someone builds a new build of sagetv for windows with any new updates that fixes the problems.
Reply With Quote
  #5  
Old 05-31-2016, 01:06 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by Pelicanjoe View Post
Has anyone else had problems with Windows v9 Java heap being consumed at a rapid pace? I'm clearing the heap about twice a day. I'm running version 1.8.0_91. I used "SageTVSetup_9.0.4.232_RC1.000" to set up Sage. Everything seemed to work fine, now it is eating up Java memory and also giving me "capture device failure while starting data scanning".

Anyone have any suggestions? I've removed defender realtime scanning on sage folders. I've reinstalled java.

Thanks!

Joe
Are you getting symptoms related to heap usage? Or is it just seeming to build up more usage than you remember v7 using?
__________________
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
  #6  
Old 05-31-2016, 11:35 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Also, when you say you "are clearing the heap twice a day"...do you mean you're restarting SageTV to do that or just forcing Java to run a garbage collection? There's nothing wrong with it using a lot of the heap unless it is resulting in OutOfMemory errors.

If you want to post your logs from this that'd likely help a bunch (memory statistics are printed in the logs on a regular basis, and then we could also see the capture device error you are getting).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #7  
Old 06-03-2016, 03:57 PM
Pelicanjoe Pelicanjoe is offline
Sage Advanced User
 
Join Date: Aug 2009
Location: Huntersville, NC
Posts: 149
Quote:
Originally Posted by Narflex View Post
Also, when you say you "are clearing the heap twice a day"...do you mean you're restarting SageTV to do that or just forcing Java to run a garbage collection? There's nothing wrong with it using a lot of the heap unless it is resulting in OutOfMemory errors.
I was originally restarting the server, but I read about the trick of pressing delete while in system Information and that seems to work. I am doing it about twice a day. With v7, I never ran up the java heap (other than when I did a new install and forgot to change the registry).

Quote:
Originally Posted by Narflex View Post
If you want to post your logs from this that'd likely help a bunch (memory statistics are printed in the logs on a regular basis, and then we could also see the capture device error you are getting).
Please see below. I've included the log files.

Thank you!

Joe
Attached Files
File Type: zip sagetv_0.zip (402.4 KB, 157 views)
Reply With Quote
  #8  
Old 06-06-2016, 10:36 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Those heap usage numbers look fine for having multiple clients connected at once. And there wasn't any errors in there relating to data scanning.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #9  
Old 06-06-2016, 04:32 PM
Pelicanjoe Pelicanjoe is offline
Sage Advanced User
 
Join Date: Aug 2009
Location: Huntersville, NC
Posts: 149
Quote:
Originally Posted by Narflex View Post
Those heap usage numbers look fine for having multiple clients connected at once. And there wasn't any errors in there relating to data scanning.
Okay, I never had this Java Heap situation with V7 and my clients are the exact same number as with V7. The attached log does have the Capture Device Failure. It occurred at 11:00am today. I've included just that time in the log.

Thank you for looking into it!

Joe.
Attached Files
File Type: txt sagetv_0.error.txt (22.6 KB, 167 views)
Reply With Quote
  #10  
Old 06-06-2016, 05:05 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
I have found I have better luck (about 4 days so far so not an exhaustive test) with heap memory of 1280 (500 hex) is working better for me than the 1024 (400 hex) I use to use for V7 and Windows.
__________________
"Keep your goals away from the trolls"
Reply With Quote
  #11  
Old 06-07-2016, 08:33 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by BobPhoenix View Post
I have found I have better luck (about 4 days so far so not an exhaustive test) with heap memory of 1280 (500 hex) is working better for me than the 1024 (400 hex) I use to use for V7 and Windows.
V9 will likely use more memory than V7 due to it also having the Lucene indexes in memory (we tried keeping them on disk, but it just hit too many bugs in Lucene that way).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #12  
Old 06-07-2016, 08:40 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by Pelicanjoe View Post
Okay, I never had this Java Heap situation with V7 and my clients are the exact same number as with V7. The attached log does have the Capture Device Failure. It occurred at 11:00am today. I've included just that time in the log.

Thank you for looking into it!

Joe.
Sorry, I'm not sure what exactly is going wrong here...it looks like some of the tuners are working for data scanning...so you should still end up getting EPG data that way; I can't tell why some of them are failing. It would need to be debugged in more detail to determine that.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #13  
Old 06-07-2016, 09:07 AM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
Quote:
Originally Posted by Narflex View Post
V9 will likely use more memory than V7 due to it also having the Lucene indexes in memory (we tried keeping them on disk, but it just hit too many bugs in Lucene that way).
Narflex, Do you have an opinion about whether or not it's ok to exceed 1024 for JVM heap? I've seen lots of claims that bad things happen above 1024 but I don't believe I've ever seen you post that you should not exceed 1024.
Reply With Quote
  #14  
Old 06-07-2016, 05:04 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by sacrament055 View Post
Narflex, Do you have an opinion about whether or not it's ok to exceed 1024 for JVM heap? I've seen lots of claims that bad things happen above 1024 but I don't believe I've ever seen you post that you should not exceed 1024.
1024 is really the safe limit - this provides a large enough cushion for java to deal with it's rather poor memory management system plus room for garbage collection loads. I've seen people run it up to 1200 or so, and it might work, but it also might lead to problems. At this point, if you have enough extenders/miniclients that the heap is pushing a limit at 1024, you need to switch to a 64-bit server. Currently, that means running the server on Linux.
__________________
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
  #15  
Old 06-08-2016, 05:53 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by sacrament055 View Post
Narflex, Do you have an opinion about whether or not it's ok to exceed 1024 for JVM heap? I've seen lots of claims that bad things happen above 1024 but I don't believe I've ever seen you post that you should not exceed 1024.
SageTV has no problem with larger heap sizes...it's other issues relating to using the 32-bit JVM which really puts the limit on it.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
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
Windows 10 technical Preview build 9926 breaks sage tv lezouave@earthu SageTV Software 12 11-24-2015 02:54 PM
Trouble with FX GTwannabe Hardware Support 4 11-21-2013 04:43 PM
QAM trouble uberliberal Hardware Support 3 02-10-2008 10:52 PM
Windows XP MCE 2005 and Simple File Sharing to Windows XP problem perfessor101 SageTV Software 1 01-14-2007 10:52 AM
Trouble with LCD TV resolution ukmgranger Hardware Support 3 04-20-2005 12:42 PM


All times are GMT -6. The time now is 02:12 AM.


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