|
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.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
JVM Heap Size - Different on PC Server vs HD300 Extender
I was getting an error saying "Out of Memory" back on 05/13. I'm running the latest versions with Diamond. Also, my server is Windows 7 64 bit if it matters with 8 Gig ram
So I saw a thread detailing how to increase Java Heap Size (including the 64 bit version), and changed it on the PC. Went to the Wow6432node in regedit, and changed the value of JVMMaxHeapSizeMB to 300. On the HD300 extender if I go into Info at the home screen, I would see the 700 (oddly, I just went to check it, and it's now showing 292MB/400MB/400MB for Used/Total/Max - I swear it said 700 as max early). And what I thought was odd, was on the desktop, it was always showing 400 as the max, when it should have showed 700 like the extender did. After changing it in regedit, I rebooted everything (PC, HD300) Checking the value now in regedit it showed 300 as the current setting, but only 400MB as the max (now in both the PC and the extender). Thoughts? |
#2
|
|||
|
|||
I may be missing something in your post but if you are getting out of memory errors (I assume these were in Sagetv not just general windows errors) that you should be setting the java heap to "1024" not "300", I thought that the default Sagetv heap size was 392(???) or something, so trying to set to "300" would not allocate more memory to Sagetv, it would be trying (if even possible) to set the java heap to less than default. We recommend setting the java heap to "1024" on the server and clients with Diamond. You have 8GB ram, you should have no problem with 1024 as the heap size.
Good luck, J |
#3
|
|||
|
|||
Thanks for the response. When I reference the "300", I was indicating that was the setting I entered was "300" hex which corresponds to a 768 setting according to the thread listed here.
http://forums.sagetv.com/forums/show...ease+java+heap 100h=256 200h=512 300h=768 400h=1024 Last night I changed it to "400" = 1024MB, but couldn't reboot everything as recordings were in progress. If I go to "Info" on either an extender or at the PC server, hould the JVM Heap size always match? For several weeks, I noticed they were different, even after upping to "300"=768. Then last night with when checking it at both locations, they were both showing 400MB max which I presume to be equivalent to a setting of 200 in the registry? But when checking the registry value, it was 300h=768. Strange. I'll reboot tonight and see what the changes are. What drew my attention to this was that I installed the plugin for monitoring the Java Heap, and noticed after raising the value that the bar indicator showed really high usage still. |
#4
|
|||
|
|||
Quote:
Cheers, J |
#5
|
||||
|
||||
If you haven't rebooted after changing the setting it is not going to take effect.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#6
|
|||
|
|||
I think he rebooted after setting to 768mb (original post) and it didn't take effect, so kind of looks like he doesn't have the right registry location.
J |
#7
|
|||
|
|||
Pretty sure sagetv service needs to be off as well. You said it was recording so guessing you still had the service running as well.
|
#8
|
||||
|
||||
Yep, registry changes won't take effect unless the application whose registry settings you are modifying has been restarted. I usually don't edit registry settings unless the app is closed.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#9
|
|||
|
|||
I've changed the Java heap twice now.
The first time, I shut off the service, changed the registry to 300h=768, and even rebooted the computer and extender. When everything came back up, the PC Server showed JVM Heap Max = 400MB, but the extender showed JVM Heap Max = 700MB. I just changed it again last night while the service was running to 400h=1024, but I know the changes wouldn't be reflected until I stop everything and restart (I'll just do a total reboot of the machine). The weirdest part about all this was there up until last night, there was this discrepancy between PC and extender JVM heap sizes, with the setting at 300h=768 in the registry. But when I checked it last night, they were both showing 400MB max, and rechecking the registry setting, it still had 300h as the setting. I'll report back tonight after I reboot everything. I'll make sure the registry setting is 400h=1024MB. |
#10
|
|||
|
|||
Alright - Problem seems solved!!
It had to do with changing the virtual registry as I guess I have UAC "on". Following Razrsharpe's suggested key change in the linked thread updated the heap accordingly (even without a Win7 reboot, but I did do a Sage7 reboot) Thanks for the tips. Side question - increasing this Java Heap should do what exactly? Should I see a performance increase? Less spinning circles? Faster display of fanart? No more Out of Memory errors? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Java Heap Size | rickgillyon | SageTV Beta Test Software | 48 | 12-14-2011 04:47 AM |
Do the same rules apply with Heap Size in Placeshifter as they do on the Server | sdsean | SageTV Placeshifter | 0 | 11-03-2010 08:48 AM |
JVM Heap Size | IV13 | SageTV Software | 2 | 10-09-2009 08:11 PM |
JVM Heap Size reported different on Server than Extender | rmac321 | SageMC Custom Interface | 5 | 02-15-2009 02:42 PM |
Jvm Heap Size | broderp | SageTV Software | 6 | 08-30-2004 02:31 PM |