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 02-11-2017, 08:04 AM
belleaudb belleaudb is offline
Sage User
 
Join Date: Aug 2008
Posts: 52
Running out of Java memory

Since the V9 freeze fix has been applied I have been having daily crashes with C++ runtime errors due to Java memory being full.

Reboot the computer and within 15 minutes JVM heap is 343MB/556MB/1038MB

I'm running a Core i5 Win 10 PC with 12GB memory.

A very basic setup, No commercial skip and using default theme.

Family complaints are getting loud...

Any suggestions?
Reply With Quote
  #2  
Old 02-11-2017, 10:16 AM
Monedeath Monedeath is offline
Sage Expert
 
Join Date: Sep 2009
Location: Idaho
Posts: 514
Post logs from when it happens.

Without knowing why it is crashing, there isn't much to suggest.

Last edited by Monedeath; 02-11-2017 at 10:19 AM.
Reply With Quote
  #3  
Old 02-11-2017, 11:54 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
How many miniclients are you using?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #4  
Old 02-11-2017, 12:54 PM
belleaudb belleaudb is offline
Sage User
 
Join Date: Aug 2008
Posts: 52
I have an HD300 extender, but it has not been used to watch TV for a few days.
No other clients.

I will turn debug logging on for a day.
Reply With Quote
  #5  
Old 02-24-2017, 01:52 PM
belleaudb belleaudb is offline
Sage User
 
Join Date: Aug 2008
Posts: 52
Crashing and C++ runtime errors happening multiple times daily.

I have the computer set to reboot nightly.

Must be a memory leak. Java is set at 400h

I'm going to wipe and rebuild the PC as it's pretty much useless now.

The log is to large to attach.

Here is a link: https://drive.google.com/open?id=0B0...zI3QjNfbjBLSDA
Reply With Quote
  #6  
Old 02-24-2017, 02:51 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by belleaudb View Post
Crashing and C++ runtime errors happening multiple times daily.

I have the computer set to reboot nightly.

Must be a memory leak. Java is set at 400h

I'm going to wipe and rebuild the PC as it's pretty much useless now.

The log is to large to attach.

Here is a link: https://drive.google.com/open?id=0B0...zI3QjNfbjBLSDA
I've been having random freezes of live video - is that what happens to your system? Are you watching 'live' on your server, or thru extenders when it happens, since mine seems to only be a problem when viewing live video on my server via the SageTV software. Do you always have to reboot, or can you sometimes recover by just re-selecting a channel
__________________
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
Reply With Quote
  #7  
Old 02-24-2017, 03:16 PM
belleaudb belleaudb is offline
Sage User
 
Join Date: Aug 2008
Posts: 52
I can be watching TV, live or recorded. Video will stop, audio will continue, stopping playback will result in sage completely closing with a C++ runtime error window.

I've done a complete PC rebuild and reinstalled Sage with the 9.0.13.536 installer.

I will monitor for issues.
Reply With Quote
  #8  
Old 02-24-2017, 03:30 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by belleaudb View Post
I can be watching TV, live or recorded. Video will stop, audio will continue, stopping playback will result in sage completely closing with a C++ runtime error window.

I've done a complete PC rebuild and reinstalled Sage with the 9.0.13.536 installer.

I will monitor for issues.
but viewing thru the software, NOT via an extender, correct?
__________________
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
Reply With Quote
  #9  
Old 02-24-2017, 04:51 PM
belleaudb belleaudb is offline
Sage User
 
Join Date: Aug 2008
Posts: 52
I'm using the sage program on the PC. I have an HD300 extender, however it's not been used for a few days. Problems do not seem to be related to the use of an extender as far as my troubleshooting can see.
Reply With Quote
  #10  
Old 02-24-2017, 06:09 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by belleaudb View Post
I'm using the sage program on the PC. I have an HD300 extender, however it's not been used for a few days. Problems do not seem to be related to the use of an extender as far as my troubleshooting can see.
same here
__________________
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
Reply With Quote
  #11  
Old 03-01-2017, 06:05 PM
belleaudb belleaudb is offline
Sage User
 
Join Date: Aug 2008
Posts: 52
So I see thousands of lines of the following in the log file. I wonder what it is and if that is eating up the memory?

Fri 2/24 11:41:57.083 [AWT-EventQueue-0@17eb5e1] VF processing on UI Thread VFJob[DirectControl r=0.0 t=0 file=null ifn=null]
Fri 2/24 11:41:57.083 [AWT-EventQueue-0@17eb5e1] Event: 0x10b l1=0xc8232600 l2=0x1
Fri 2/24 11:41:57.083 [VideoFrame-SAGETV_PROCESS_LOCAL_UI@804524] VF processing job null nPlayin=true
Fri 2/24 11:41:57.083 [VideoFrame-SAGETV_PROCESS_LOCAL_UI@804524] isRec=false rd=7200000 base=1583000 eos=false
Fri 2/24 11:41:57.083 [VideoFrame-SAGETV_PROCESS_LOCAL_UI@804524] VF thread is now waiting for 0:00:00.000
Fri 2/24 11:41:57.581 [main@132e575] VF.submitJob(VFJob[DirectControl r=0.0 t=0 file=null ifn=null])
Fri 2/24 11:41:57.582 [VideoFrame-SAGETV_PROCESS_LOCAL_UI@804524] VF processing job VFJob[DirectControl r=0.0 t=0 file=null
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 memory in MB starfire SageTV for unRAID/Docker 9 10-19-2016 02:00 PM
Java heap memory errors gilded07 SageTV Placeshifter 34 06-04-2013 04:23 PM
Memory / Java Heap wayner Gemstone for v7 24 09-10-2012 01:20 PM
Out of Memory: Java Mem up to 768MB! skyeclad SageTV v7 Customizations 6 10-31-2011 11:46 AM
Java Memory Problem dead_ferrets SageMC Custom Interface 11 02-23-2010 09:53 AM


All times are GMT -6. The time now is 05:46 PM.


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