|
SageTV Media Extender Discussion related to any SageTV Media Extender used directly by SageTV. Questions, issues, problems, suggestions, etc. relating to a SageTV supported media extender should be posted here. Use the SageTV HD Theater - Media Player forum for issues related to using an HD Theater while not connected to a SageTV server. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Java Heap Size
If my Java heap size reads 189/266/266 and my HD100 has been acting really sluggish should I consider increasing it?
Are there negative implications of having a java heap size too big? If I should increase it can someone include a detailed explanation of how to do it? Thanks Start, run, regedit <ok> starts the registry editor HKEY_LOCAL_MACHINE\SOFTWARE\Frey Technologies\Sage TV\JVMMaxHeapSizeMB DWORD value: 200 (Hex) or 512 (Dec)
__________________
Windows 10 Sagetv 9 64bit (9.2.5) HVR-2255 x3 OTA Last edited by craigap; 02-22-2009 at 12:06 PM. |
#2
|
|||
|
|||
YES!! You are clearly maxing out your Heap. And no there aren't any negative implications other than it will use more RAM on your server. As long as you have the RAM to use, why not use it?
__________________
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 |
#3
|
||||
|
||||
I've not done this yet myself but here's a link to a thread where setting Java heap is covered:
http://forums.freytechnologies.com/f...ad.php?t=23681 Hope this helps. EDIT: Start, run, regedit <ok> starts the registry editor
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT Last edited by HelenWeathers; 02-21-2009 at 10:16 PM. |
#4
|
|||
|
|||
Thanks guys. I think that helped out. My extender doesn't seem to be so slow. I'm now reading 243/285/533.
__________________
Windows 10 Sagetv 9 64bit (9.2.5) HVR-2255 x3 OTA |
#5
|
||||
|
||||
I bumped mine up from 512 to 1GB over the weekend. Sitting at 205/291/533 right now so I guess the change will occur next reboot or service restart. I've seen the service hit 500+MB in Task Manager though.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage Clients: HD300 x2; HD200 x2; Placeshifter Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc. |
#6
|
||||
|
||||
That's somethng that is confusing me. When I watch the heap size in Sage everything looks fine. When I watch the size in process explorer it just keeps increasing until it crashes. Why is the difference growing?
|
#7
|
|||
|
|||
So far I've only seen as high as 289/453/533. I've never looked in the task manager though. I'll have to do that.
__________________
Windows 10 Sagetv 9 64bit (9.2.5) HVR-2255 x3 OTA |
#8
|
|||
|
|||
The task manager memeory should be around the size of the total Heap used( usually a bit higher.. ). The used should be the memory Sage is currently using and will vary depending on garbage collection, but the total allocated heap will not decrease.
I have found that the Albumn cache has been the biggest issue with the heap size. Mine would constantly hit over 1GB (my max heap setting.. ) and crash. I have turned off the albumn cache and have not had a memory issue since... I would rather have the system up, than have my thumb nail images be instant... Thanks, Jeff |
#9
|
|||
|
|||
Oh. So that's what must be going on with me. I just recently setup dvd profiler and started ripping my DVD library to HDD and I hava a lot of cover art stuff now. I just maxed out my heap again last night too. Maybe I'll have to change something up then. What was exactly that you did to turn it off? Do you not get any cover art when you browse media files or do they just not remain in a cache?
__________________
Windows 10 Sagetv 9 64bit (9.2.5) HVR-2255 x3 OTA Last edited by craigap; 02-26-2009 at 05:58 AM. |
#10
|
|||
|
|||
Go to Setup\SageMC\Enhancements\Cache Albumn Art and set it to Disabled. I found you need to turn it off on all extenders, because it is a per client setting... Does not matter on Sage Clients because they use thier own local heap. Then cycle Sage to clean up the memory.
The only down side is there is a slight delay when you scroll through the library on some images, but better slow images than crashed server... I have found if you change the setting under Setup\Detailed Setup\Customize\Inactivity Timeout and OSD autohide\User Input Timeout before loading thumbnails down to 1 is speads up the thumbnail loading.. Hope that helps, Jeff |
#11
|
|||
|
|||
Would the heap size maxing out causing an issue like this (as reported in the log), which causes my HD200 to shut down?
Code:
Fri 2/27 9:10:22.891 EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of java_io_RandomAccessFile_setLength of java.lang.reflect.InvocationTargetException for:java_io_RandomAccessFile_setLength(fileout,0) Fri 2/27 9:10:32.469 Screen Saver Timeout expired....tv=false playin=false fs=true sleepy=false currSS=true Fri 2/27 9:10:49.193 Exception in the MiniUIClientReceiver of: java.net.SocketException: No buffer space available (maximum connections reached?): recv failed Fri 2/27 9:10:49.211 Killing UIMgr UIManager:localhost@@001d6a4bfd63-1d2f39e Fri 2/27 9:10:49.212 Killed UI Timers Fri 2/27 9:10:49.238 stopPush0() Fri 2/27 9:10:49.248 Closing down MiniPlayer Fri 2/27 9:10:49.248 closeDriver0() Fri 2/27 9:10:49.249 Seeker.finishWatch(UIManager:localhost@@001d6a4bfd63-1d2f39e) Fri 2/27 9:10:49.250 Killed VideoFrame Fri 2/27 9:10:49.250 Killed EventRouter Fri 2/27 9:10:49.250 VF processing job null nPlayin=false Fri 2/27 9:10:49.250 VideoFrame thread is now exiting
__________________
m2 |
#12
|
||||
|
||||
Quote:
Memory is not too expensive and easy to add. 2GB would be the minimum I would think - more is better.
__________________
Server: SageTV 9, Win10/32, Intel DP55KG Mb, Intel QC i5 2.66GHz , 4GB 1333MHz DDR3 SDRAM, 2 Hauppauge 2255s for 4 OTA ATSC tuners, HDHRPrime w Comcast, 3 STP-HD300s 20101007-0 firmware, nVidia Shield. Java v7u55. Plugins:SD EPG, OpenDCT |
#13
|
|||
|
|||
I like 2G or 3G for WHS, I avoid 4G on a 32-bit OS.
YMMV... |
#14
|
|||
|
|||
Yeah, my dilemma is spending additional money to keep old hardware alive (184-pin DDR) and likely running into additional problems down the line, or changing out for more current hardware and absorbing the immediate pain of re-creating my server (and moving ~1TB of recorded material to the new setup). Ugh!
__________________
m2 Last edited by mangriotis; 02-27-2009 at 12:40 PM. |
#15
|
|||
|
|||
I'd vote for the server upgrade. It might be a PITA to do it now but it'll be worse the longer you wait and add more data...
|
#16
|
|||
|
|||
How do you get Java to report these numbers? What do each of the numbers mean? I looked, but I couldn't find any instructions.
|
#17
|
|||
|
|||
You can find these numbers under System Info in the Help menu. I believe the numbers are Current Usage / Max Usage for this Instance / Total Available
I could be wrong though, this was discussed previously so I might be slightly off.
__________________
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 |
#18
|
||||
|
||||
Update on my last Heap size increase... after the server rebooted due to an extended power outage the Service refused to start. I had to drop back to 512.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage Clients: HD300 x2; HD200 x2; Placeshifter Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc. |
#19
|
||||
|
||||
It looks like I found my problem. I had a hard drive that was failing. Once I removed it the memory acts more reasonably. Unfortunately it took a near complete failure before I realized the drive was bad.
|
#20
|
|||
|
|||
Sorry to resurrect this but...
I recently found this thread and wanted to thank the posters for the great info.
I didn't know what I was missing. Now that I changed the setting in the registry for the heap size my MPV's menus are super fast and no more waiting indicators ever. Many many thanks.
__________________
Server [headless]: Q6600 2.4GHz, 2GB RAM DDR2 800, ATI HD-3450 512 MB DDR2, MSI mobo (6 Sata, 1 eSata, 2 Firewire/1394, 6 USB 2.0) Storage: 1 IDE 320MB HDD for O/S and recorded TV, 1 Sata 3Gbps 750 HDD for videos, 1 Sata 3Gbps 1TB for videos, 1 USB 500 GB external for photos, music and videos O/S: XP Home SP2 Capture: 2 Hauppauge PVR-500 (each using dual analog cable tuners) Clients: 3 MVP (usually only 2 in use at one time) |
Tags |
java heap size, memory |
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 |
Java Heap help | gibsonpa | SageTV Software | 3 | 08-06-2008 03:11 PM |
Jave Heap Size in 6.4.5 and stutter | technazz | SageTV Beta Test Software | 3 | 07-23-2008 03:16 PM |
Heap Size and Stuttering | vividweb | SageTV Software | 5 | 06-02-2008 04:33 PM |
Jvm Heap Size | broderp | SageTV Software | 6 | 08-30-2004 02:31 PM |