SageTV Community  

Go Back   SageTV Community > SageTV BETA Release Products > SageTV Beta Test Software

SageTV Beta Test Software Discussion related to BETA Releases of the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. regarding SageTV Beta Releases should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-24-2010, 08:55 PM
Email68 Email68 is offline
Sage Advanced User
 
Join Date: Aug 2010
Location: N. Cal.
Posts: 108
7.021.244 Does not release heap usage well

Been really keeping track of the heap size as that has been a real issue for my sage use.

I removed all the plugins except commercial skip and TWit. This helped lower my overall JVM Heap use but I have been watching to see if it lowers itself after a period of no being used.

I had two extenders on one watching a DVD and another a TV recording. The help climbed to around 400MB.

Now that everything has been off for a couple of hours, I turned on one extender and went right to the system information to check and the heap is already at 350MB. Which is about twice as high as when one extender is turned right after a sage server restart.

I think over time this may continue to creep. No reason it should be using 350MB with nothing playing, no recording, and only one extender viewing the info page.

It would be nice to have a detailed information about this JVM heap and what its all about.

-Tim
Reply With Quote
  #2  
Old 10-25-2010, 04:44 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Riverside, CA
Posts: 6,585
JVM heap's never shrink. That's just how Java is designed. When memory is requested, the heap is expanded as much as it needs (up to the predetermined max). However, when the program releases that chunk of memory - it is never shrunk down and returned to the OS.
__________________
Sage Server: Phenom II X4, 16GB RAM, Win7HP, 1x1TB (system/misc-imports), 2x750GB+3x2TB(recordings/media)
Sources: Two R-5000HD equipped ViP-211's for Dish Network, HDHR3 Dual for OTA
Primary Client: i3-530, 2GB RAM, Win7HPx86, miniITX H55 MB, 160GB laptop drive, Samsung HLT-6189S
Other Clients: Phenom II X2 545 w/8GB and HD6670 in Master Bedroom, MVP in kids play room
Reply With Quote
  #3  
Old 10-25-2010, 04:51 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 4,060
If you go to the System Information screen and press "Delete" it will run the garbage collector and free up heap space.
__________________

Sage Server: ASUS/Intel C2D based system w/4GB RAM. WinXP Home, Hauppauge PVR 150, Hauppauge HVR-2250 and an HDHR. Runs headless. Accessed via VNC when necessary. Four HD-300 Extenders.
Reply With Quote
  #4  
Old 10-25-2010, 07:27 PM
Email68 Email68 is offline
Sage Advanced User
 
Join Date: Aug 2010
Location: N. Cal.
Posts: 108
What happens when it just keeps rising then and maxes out? You just slow down and/or lock up?
Reply With Quote
  #5  
Old 10-26-2010, 07:39 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 4,060
Quote:
Originally Posted by Email68 View Post
What happens when it just keeps rising then and maxes out? You just slow down and/or lock up?
It will get slower and slower and then eventually crash. If that happens you have a memory leak somewhere.

Remove ALL plugins and see if the heap keeps growing. I doubt it, but if it does you need to file a bug report with Sage. Then try adding plugins one at a time until you find the problem.

I see you are down to two plugins. I have not had issues nor have others reported issues with CommercialDetector, but that does not mean it's not the problem.
__________________

Sage Server: ASUS/Intel C2D based system w/4GB RAM. WinXP Home, Hauppauge PVR 150, Hauppauge HVR-2250 and an HDHR. Runs headless. Accessed via VNC when necessary. Four HD-300 Extenders.
Reply With Quote
  #6  
Old 10-27-2010, 09:31 PM
timg11 timg11 is offline
Sage Aficionado
 
Join Date: Sep 2008
Posts: 290
Thumbs up

I'm seeing a similar problem. Sage reports the HD-PVR stopped working at 15:11, and after that nothing else is recorded for the rest of the day. I find SageTV in the tray and completely unresponsive to left or right clicks at 22:00. The tooltip says "SageTV 2" instead of the usual "SageTV.

I track SageTV usage hourly with a script that Greps the output of tasklist.exe. Here are the results for today:

Code:
"2010-10-27 06:00:00","SageTV.exe                    3888 Console                    1    245,912 K"
"2010-10-27 07:00:00","SageTV.exe                    3888 Console                    1    251,480 K"
"2010-10-27 14:58:15","SageTV.exe                    3888 Console                    1    273,112 K"
"2010-10-27 15:00:00","SageTV.exe                    3888 Console                    1    459,804 K"
"2010-10-27 16:00:00","SageTV.exe                    3888 Console                    1    453,732 K"
"2010-10-27 18:00:00","SageTV.exe                    3888 Console                    1    458,604 K"
"2010-10-27 20:00:00","SageTV.exe                    3888 Console                    1    456,348 K"
"2010-10-27 21:00:00","SageTV.exe                    3888 Console                    1    457,676 K"
"2010-10-27 22:06:23","SageTV Restarted "
The gaps are because the computer is in standby. Right when a HD-PVR recording starts at 15:00, the memory doubles.

In the sagetv.log, I find this around the point where I re-started it at 22:00:

Code:
Wed 10/27 22:01:15.418 [FinalRender-SAGETV_PROCESS_LOCAL_UI@18d6fb7] ImageUtils creating scaled masked copy width=83 height=83 option=null BufferedImage@11476c4: type = 2 DirectColorModel: rmask=ff0000 gmask=ff00 bmask=ff amask=ff000000 IntegerInterleavedRaster: width = 121 height = 121 #Bands = 4 xOff = 0 yOff = 0 dataOffset[0] 0
Wed 10/27 22:01:15.968 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@e816f5] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 2252
Wed 10/27 22:01:16.566 [AWT-EventQueue-0@1729854] Removed system shell hook
Wed 10/27 22:01:16.567 [AWT-EventQueue-0@1729854] VF processing on UI Thread VFJob[Sleep r=0.0 t=0 file=null ifn=null]
Wed 10/27 22:01:16.568 [AWT-EventQueue-0@1729854] Seeker.finishWatch(UIManager:localhost@@SAGETV_PROCESS_LOCAL_UI-a0dcd9)
Wed 10/27 22:01:16.719 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@e816f5] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 3003
Wed 10/27 22:01:17.470 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@e816f5] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 3754
Wed 10/27 22:01:18.221 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@e816f5] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 4505
Wed 10/27 22:01:18.972 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@e816f5] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 5256
Wed 10/27 22:01:19.723 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@e816f5] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 6007
Wed 10/27 22:01:20.474 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@e816f5] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 6758
Wed 10/27 22:01:21.225 [AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI@e816f5] EventThread-SAGETV_PROCESS_LOCAL_UI Hang Detected - hang time = 7509

This type of hang has occurred several times since I installed .21
__________________
HD300 extender with SageTV V7.1.9 (service mode), Running on Windows 7 (32 bit), E8400 3GHz dual core CPU, 4G RAM, Gigabyte GA-P35-DS3L motherboard. NVidia 8600GT; Viewsonic LCD on one output and Mitsubishi WD57734 HDTV via DVI/HDMI on other output. HDHomeRun tuner, HD-PVR Rev E1. HD-PVR connected to Sci Atl Explorer 8300HDC cable box on Time Warner.
Reply With Quote
  #7  
Old 10-28-2010, 12:23 AM
Email68 Email68 is offline
Sage Advanced User
 
Join Date: Aug 2010
Location: N. Cal.
Posts: 108
Ya, this is crazy.

Only one extender on, and one show recording. Heap use was at 706 or something close, I hit the delete key while viewing it and it dropped to 160.

This can't be right.

I would hope sage monitors the beta forum, it would be ridiculous to have to put in a ticket for everything.
Reply With Quote
  #8  
Old 10-28-2010, 06:11 AM
paulbeers paulbeers is offline
SageTVaholic
 
Join Date: Jun 2005
Posts: 2,547
Quote:
Originally Posted by Email68 View Post
Ya, this is crazy.

Only one extender on, and one show recording. Heap use was at 706 or something close, I hit the delete key while viewing it and it dropped to 160.

This can't be right.

I would hope sage monitors the beta forum, it would be ridiculous to have to put in a ticket for everything.
Isn't filing a bug report, kind of the point of a Beta/RC?
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage
Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's
Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter
Reply With Quote
  #9  
Old 10-28-2010, 06:58 PM
Email68 Email68 is offline
Sage Advanced User
 
Join Date: Aug 2010
Location: N. Cal.
Posts: 108
Quote:
Originally Posted by paulbeers View Post
Isn't filing a bug report, kind of the point of a Beta/RC?
Same as the point of a beta forum...
Reply With Quote
  #10  
Old 10-29-2010, 12:46 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Riverside, CA
Posts: 6,585
Quote:
Originally Posted by Email68 View Post
Same as the point of a beta forum...
not really. This is a User-to-user forum. It is here so they can relay information to the user base, and so we can help each other with configuration/hardware issues and other similar assistance. The bug reporting system is the primary method of notifying the developers of a discovered problem, and is really the only way it can be expected to be observed, tracked and fixed.
__________________
Sage Server: Phenom II X4, 16GB RAM, Win7HP, 1x1TB (system/misc-imports), 2x750GB+3x2TB(recordings/media)
Sources: Two R-5000HD equipped ViP-211's for Dish Network, HDHR3 Dual for OTA
Primary Client: i3-530, 2GB RAM, Win7HPx86, miniITX H55 MB, 160GB laptop drive, Samsung HLT-6189S
Other Clients: Phenom II X2 545 w/8GB and HD6670 in Master Bedroom, MVP in kids play room
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
HD-PVR and java heap dead_ferrets Hardware Support 11 12-10-2009 08:54 AM
heap space w/ 6.6.2 zoop SageTV Linux OEM Edition 4 10-08-2009 11:05 PM
SageTV Release Candidate V6.5.8 is Here! (& v6.5.9 release) Narflex SageTV Beta Test Software 1 02-03-2009 03:10 PM
Java Heap help gibsonpa SageTV Software 3 08-06-2008 03:11 PM
Heap Size and Stuttering vividweb SageTV Software 5 06-02-2008 04:33 PM


All times are GMT -6. The time now is 10:17 AM.


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2003-2005 SageTV, LLC. All rights reserved.