SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 05-07-2006, 12:08 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Not sure how long this was going on for me either: I only noticed it when checking for mem leaks...

Narflex: I am just gathering some more info, checking it occurs on both my systems under what conditions and I will of course submit a bug report...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 05-07-2006 at 12:12 AM.
Reply With Quote
  #22  
Old 05-07-2006, 12:45 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
So a handle is a reference to an object, eh? A window element, a file, a process, etc. An failure to release an unused handle is a form of memory leak, it seems, just one level removed from, say, malloc() without free()
Reply With Quote
  #23  
Old 05-08-2006, 04:55 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
I have updated my CPU/Mobo monitor to add handle monitoring

For me it definately leaks 2 handles/frame on playback (50 handles /sec as I am in PAL land), for both XVID/AVI and MPEG2, but only when using VMR9.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #24  
Old 05-10-2006, 05:42 PM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Has anyone made any progress with a bug report on this? I filed one yesterday, no response yet. The system crashes in about 12 hours if live TV is left playing. I am 9 hours into it from the last crash, 2.4MM handles and close to 200MB memory. When it reaches 225, I expect it to crash.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #25  
Old 05-10-2006, 07:36 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
The handle leak is a confirmed bug in Java 1.5/1.6. We'll be redoing some things to get around the problem.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #26  
Old 05-10-2006, 07:37 PM
HawgGuy's Avatar
HawgGuy HawgGuy is offline
Sage Expert
 
Join Date: Mar 2005
Location: west texas
Posts: 513
FWIW I have the same problem. Exit to the Desktop 12-24 hrs after starting. Only with VMR not with Overlay. I much prefer VMR.

Same results:
Win2k or WinXP
Sage, Cyberlink or Nvidia codec

SageTV 4.13 --> 5.02 (all versions) - stock, no "enhancements"
Nvidia 6600 or Nvida 5200 video card
Java 1.5.06

I'm growing more suspicious of the Nvidia drivers. My next step is to get a cheap ATI card to test with their drivers.

-bob
Reply With Quote
  #27  
Old 05-10-2006, 08:50 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
how do I determine which version of Java (VM?) I am using (Sage 4)
Reply With Quote
  #28  
Old 05-10-2006, 09:42 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Among other things, it should be displayed as the 2nd line on SageTV's System Information screen. That's the one SageTV is using.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #29  
Old 05-11-2006, 04:45 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
...And just to (re) confirm that the problem does not occur in Java 1.4 (I am now running 1.4.2-11) Sage is stable at 832 handles, going to 976 during video playback...

VMR9 is also a lot more stable when switching to/from full screen exclusive mode... So I will stick with 1.4 for the moment (which is a pain because a plugin I am working on will require 1.5 unless I rewrite large sections of a 3rd party library!... Damn!)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 05-14-2006 at 02:24 AM.
Reply With Quote
  #30  
Old 05-11-2006, 08:21 PM
HawgGuy's Avatar
HawgGuy HawgGuy is offline
Sage Expert
 
Join Date: Mar 2005
Location: west texas
Posts: 513
I dropped down to JRE 1.4.11 and also have noticed my number of handles had decreased from 800,000 (and climbing) to a stable 5800 or so. Only time will tell.
Reply With Quote
  #31  
Old 05-11-2006, 09:37 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
My seemingly handle- and memory-leaky SageTV uses Java 1.4
Reply With Quote
  #32  
Old 05-11-2006, 10:42 PM
DFA DFA is offline
Sage Expert
 
Join Date: Oct 2003
Location: Bakersfield
Posts: 638
1.4.?

I have been following this thread closely. These are the type of ghosties that raise real havoc that you just can't quite put your finger on. It looks like this one is exposed.

DFA
__________________
Wrong information is worse than no information
Reply With Quote
  #33  
Old 05-12-2006, 12:03 AM
thorhtpc's Avatar
thorhtpc thorhtpc is offline
Sage User
 
Join Date: May 2006
Location: Redondo Beach, CA
Posts: 8
Java 1.5 problems

I have been running the SageTV trial software for the last few days. I was unable to use VMR (with or without FSE) without a lot of video jitter. I could only use overlay to get smooth playback.

Seeing that people were having problems with java 1.5 in this thread I decided to uninstall 1.5 and go back to 1.4.

I am happy to say that I have no more problems using VMR. There are definitely problems with java 1.5.
__________________

Athlon64 3500+ Venice w/ Zalman CNPS7000B-AlCu
ASUS a8n5x
XP SP2
eVGA 7600GT CO w/ Zalman VF700-Cu
2 x 512MB Kingston HyperX PC4000 RAM
2 x 250GB Maxtor HDDs
DVICO Fusion5 Gold PCI
VBOX Cats Eye USB HD tuner
Samsung 46" DLP (using DVI connection)
Sage V6.0 Beta
Girder 3.4
Reply With Quote
  #34  
Old 05-12-2006, 10:06 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
What is Sage's Position on Java 1.5???

Does upgrading to Sage v5 automatically load Java 1.5?
Reply With Quote
  #35  
Old 05-12-2006, 10:41 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
No, the java that is in the installer only gets installed if you don't have a version of java installed already.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #36  
Old 05-13-2006, 11:27 AM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
"a version" ? Does installer push in a newer version based on JVM version of what's installed?
Often the Installers in general don't ask.
Reply With Quote
  #37  
Old 05-13-2006, 05:55 PM
elaw elaw is offline
Sage Advanced User
 
Join Date: Mar 2005
Location: Wilmington, MA, USA
Posts: 179
Hmmm... maybe this explains why I had to restart Sage 6 times to get through watching "The Langoliers" last night?

Anyhow since I've got two HTPC's I decided to do a little experimenting. The one I was watching last night definitely DOES have a handle leak. This machine has Sage 5.0.2 and had Java version 1.4.2.

I quickly figured out it only has the problem when viewing .avi files that use Divx or Xvid, .mpg files (including Sage recorded shows) do not have the problem.

I tried changing a bunch of settings: video and audio renderers, fullscreen/not, etc., with no luck. Hitting "reload media player" in Setup does not free the handles.

So I moved on to my other machine, this one running same version of Sage but Java version 1.5.0. Quickly figured out that machine does NOT have the handle problem.

So thinking I'm really smart, I go back to the first machine and install the newer version of Java on it. Did NOT work, that machine still has the problem (yes I rebooted and verified that Sage is using the new Java version).

Biggest remaining difference between the machines is #1 has nVidia 6600 video and #2 has ATI 9500. Wonder if the problem could lie with the nVidia drivers?
__________________
Be alert! America needs more lerts.

Eric Law
Reply With Quote
  #38  
Old 05-13-2006, 06:32 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
This is a confirmed bug in Java that we're developing a workaround for (shouldn't take that long). It only happens when using VMR9 with Java 1.5 or 1.6. There are also other ways to make it leak handles when not using VMR9, and those will be addressed as well (but they're all related to the same bug in Java, but the non-VMR9 leaks are not as bad).
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #39  
Old 05-13-2006, 08:09 PM
mike1961 mike1961 is offline
Sage Icon
 
Join Date: Dec 2005
Location: California
Posts: 1,555
FWIW - I noticed that (as I posted earlier) when I select VMR I get the handle leak but not when I select either Overlay or Default. Also, I noticed that in the latest version 5.0.2 that selecting VMR uses like 60-90% of my CPU resources while Overlay only uses like 10% of my resources. Overlay or default seems to work just fine for me.

Mike
Reply With Quote
  #40  
Old 05-13-2006, 09:26 PM
toricred's Avatar
toricred toricred is offline
Sage Icon
 
Join Date: Jan 2006
Location: Northern New Mexico
Posts: 1,729
I tried JRE 1.4.2_10 today and it was much worse. Every 1-2 hours it would totally lock up. I've reverted to Sage 4.1.14 for the time being. There's nothing I'm really interested in in version 5.
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


All times are GMT -6. The time now is 11:24 PM.


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