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
  #1  
Old 07-11-2011, 08:18 AM
icon123 icon123 is offline
Sage User
 
Join Date: Mar 2009
Location: ohio
Posts: 53
Help changing java heap size

Hey all,

Running a version of SageTV 7 in service mode on a Windows 7 32 bit os. Only clients are H200. Wanted to increase my java heap size. Didn't find it in my registery so I ran the little programming that does it for you (sorry, can't remember the one, but got it here). It seemed to work. When I checked the registery, it added the new registery entry with the right amount.

However, when I check my java settings via the extender, it still says the default of 400MB for my max. instead of the 1024MB I set it to and I was still having some problems that lead me to believe my java settings were still low. FYI - I did reboot. TIA!
Reply With Quote
  #2  
Old 07-11-2011, 08:38 AM
Savage1701 Savage1701 is offline
Sage Expert
 
Join Date: Apr 2009
Location: Roscoe, IL
Posts: 668
Well, this may not be much help, but I don't think 32-bit Java can go past 1GB so you are maxed. I've heard that HD200's borrow RAM from the server, so you may indeed be at the max of what the extender can borrow, since your server needs some Java RAM as well. A lot of plugins can slow down or hurt things. My heap is at 768MB and I don't have ring of death anymore, etc.

Remember, in Win 7 it's found in that "Wow6432Node" subdirectory. You may want to be sure your Java-setting app is Win 7 compliant in that regard.

I have seen other Java apps interfere with Sage clients. Java itself has internal setting, I am gathering from reading Java forums, that determine how much it opens with and what it can max do vs. what you change in Sage. I've never changed those settings though, just the ones indigenous to Sage.
__________________
Asus P5Q Premium MB, E6750, 4GB RAM, 32-bit XP Pro SP3, 3Ware 9590SE controller, 80GB 7.2K Laptop boot drive w/SuperSpeed Cache Utility & eBoostr, (1) KWorld ATSC-110, (1) 950Q USB, (1) 2250 tuner, (1) HD-PVR using USB-UIRT, (1) 1600 Dual card, (1) DVICO Fusion 5 Gold, (1) Hauppauge 1250, (1) Hauppauge 2250, 8 various storage HD's, NEC-based x1 USB add-on card, 2 outdoor antennas capturing 2 different OTA markets, Dish Network w/HD Receiver for HD-PVR.

Last edited by Savage1701; 07-11-2011 at 08:42 AM.
Reply With Quote
  #3  
Old 07-11-2011, 09:29 AM
icon123 icon123 is offline
Sage User
 
Join Date: Mar 2009
Location: ohio
Posts: 53
Don't run any plugins. This is a 32 bit system so I don' think the wow thing applies to me. This pc is dedicated to sage so I run no other software on it. I don't know if my problem is even Java related but a lot of times when I run my BD rip (converted to mkv files) I will get bad stutering in the middle of the movie. When I run it through extender mode, I never have this problem. Therefore I am blaming this on java, that or the sage software its self. Thanks for the reply.
Reply With Quote
  #4  
Old 07-11-2011, 09:35 AM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
i use the same tool for changing my java size for sage. you need to stop the sagetv service. (be sure it is stopped) run the applet and change the size. then start sage service. you may also need to hard reboot your extenders.
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300
Reply With Quote
  #5  
Old 07-11-2011, 09:53 AM
Savage1701 Savage1701 is offline
Sage Expert
 
Join Date: Apr 2009
Location: Roscoe, IL
Posts: 668
Icon, it is also possible to have memory leaks. For better or worse, I reboot my XP Sage Server every day.

I only offer this out as a tip. There could be tons of things including your video card/driver if it is doing the transcoding, etc.

Actually, I am now experiencing something similar on a Sage client - if any other Java applet is running, Sage Client crashes but ONLY on DVD playback and I might get away with it if I just watch the movie and don't chapter skip. I think you are on the right track with Java, but I know little about troubleshooting it.

For sure, if you run Sage as a service it must be stopped and re-started. I run Sage as a program so I would automatically exit it anyway before working on the heap, properties file, etc.

I hope you get your problem solved. Things like this can be highly frustrating.
__________________
Asus P5Q Premium MB, E6750, 4GB RAM, 32-bit XP Pro SP3, 3Ware 9590SE controller, 80GB 7.2K Laptop boot drive w/SuperSpeed Cache Utility & eBoostr, (1) KWorld ATSC-110, (1) 950Q USB, (1) 2250 tuner, (1) HD-PVR using USB-UIRT, (1) 1600 Dual card, (1) DVICO Fusion 5 Gold, (1) Hauppauge 1250, (1) Hauppauge 2250, 8 various storage HD's, NEC-based x1 USB add-on card, 2 outdoor antennas capturing 2 different OTA markets, Dish Network w/HD Receiver for HD-PVR.

Last edited by Savage1701; 07-11-2011 at 09:56 AM.
Reply With Quote
  #6  
Old 07-12-2011, 04:48 AM
fac13 fac13 is offline
Sage Advanced User
 
Join Date: Feb 2008
Location: UK
Posts: 199
Admittedly this is a long shot but ...

I set my keys manually and I had the same problem as you. In my case it was because I was running Sage using a different windows account (different from the one I was logged into when I made the registry changes), so the entries it was seeing were not the ones I was altering.
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
How do I increase Java Heap Size OldPCGUY SageTV Software 30 03-26-2017 02:12 PM
Java Heap Size rickgillyon SageTV Beta Test Software 48 12-14-2011 04:47 AM
Java Heap Size / WHS woribhabor SageTV Software 3 03-18-2011 02:34 PM
Java Heap Size & HD200 Savage1701 SageTV Media Extender 2 12-08-2010 08:12 AM
Java Heap Size craigap SageTV Media Extender 21 03-27-2010 10:53 AM


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


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