|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
STV Import: Java Heap Monitor
Running out of Java Heap space can cause many issues when running SageTV. You can go to the System information menu to see how big your Java heap is and how much memory is available, but how often do you really look there?
This STVi gives you the option to display a small bar style graph in the upper right portion of the Main Header that displays how much Java heap space is available. It also allows you to have System Messages generated if the amount of used Java heap memory exceeds user defined thresholds. To install: Unzip to your SageTV install directory (usually C:/Program Files/SageTV/SageTV) and import the JHM stvi. There is no need to shutdown Sage. Once installed you can configure the options by going to Setup->Detailed Setup->Customize menu. At the end of the list you will find the Java Heap Monitor. Explanation of options:
Note that the meter related options can be set for each client/extender/placeshifter. The system message related options are server based. Download here: http://forums.sagetv.com/forums/down...do=file&id=349
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. Last edited by tmiranda; 11-28-2009 at 05:47 AM. Reason: Fixed spelling error. |
#2
|
||||
|
||||
Thanks a lot for this stvi - it's a welcome addition to my system. One request however - I've found that even when I correctly setup the UI overscan, the vertical bargraph that appears in the title bar is off the screen. Is there any way to make it stay in the same place as when system information is displayed? When the system information icon (the exclaimation point icon) is shown, the bargraph is to the immediate left of the icon. If you erase the system message, the bargraph shifts to the right - almost off the screen.
Does my description make sense? Any suggestions for a fix? -PGPfan
__________________
Sage Server: Gigabyte 690AMD m-ATX, Athlon II X4 620 Propus, 3.0 GB ram, (1) VistaView dual analog PCI-e tuner, (2) Avermedia Purity 3D MCE 250's, (1) HD-Homerun, 1.5 TB of hard drives in a Windows Home Server drive pool, Western Digital 300GB 'scratch' disk outside the pool, Gigabit LAN Sage Clients: MSI DIVA m-ATX, 5.1 channel 100w/channel amplifier card, 2 GB ram, , (1) Hauppauge MVP, (1) SageTV HD-100 Media Storage: unRAID 3.6TB server |
#3
|
||||
|
||||
My question is.. how much heap doe the heap monitor take up? ;-)
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#4
|
||||
|
||||
@PGPfan - I think you are saying the meter goes off the right side of the screen but I'm not seeing that on my system. I'll investigate this more. Can you post a screenshot?
@Fuzzy - Not much
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#5
|
||||
|
||||
Any chance you'd consider porting this to MC?
|
#6
|
|||
|
|||
I can't get this to work. I've unzipped the file, and I now have a file called
/opt/sagetv/server/STVs/SageTV3/JHM 1.stvi (I'm on linux). But, when I try to import it from Setup->Detailed Setup->Advanced->Manage STVi Plugins, it doesn't show up. Nothing shows on the Customize menu either. I've restarted sage, but there's still nothing thee to import. This my first time trying to import an STVi. Am I doing something wrong? Last edited by loonsailor; 12-15-2009 at 05:37 PM. |
#7
|
||||
|
||||
@loonsailer - when you are in manage plugins... select "Add new stvi plugin", then browse for the plugin and load it.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#8
|
|||
|
|||
Thanks. I had done that but didn't see it, because it was browsing on the local computer on which the client was running, not on the server where I'd put the stvi file. I did the same thing on my HD-200, and it works great.
|
#9
|
||||
|
||||
If you are using a client PC, the imports need to be installed on the client. In this case, I believe it would only be moniutoring the Java heap of the client itself, as it, unlike extenders and placeshifters, run it's own completely seperate process (with it's own heap).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#10
|
|||
|
|||
Great plug-in, but How can I see my Java status without installing this plugin?
When I go to my SageTV system information screen, I don't see anything about Java Heap size. |
#11
|
||||
|
||||
It's in the System Information, you just have to scroll down a little. Use the down key on the remote or the down arrow on a keyboard.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#12
|
|||
|
|||
Cool thanks. I had taken out System Information with Niels menus so I forgot about it.
|
#13
|
||||
|
||||
New version available for Sage7. This version fixes a bug that caused the STVi to be incompatible with the CPU Monitor STVi.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#14
|
||||
|
||||
Version 1.20 available:
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#15
|
|||
|
|||
Tom,
If I install this on the server not running the GUI (STANDALONE) will I be able to still see the messages in any Client ... when Java Heap is low on the Server?
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#16
|
||||
|
||||
How would you install it on the server if it's not running any UI? (I'm assuming you mean the server is running in service mode.) You need to install it on at least one UI (that runs on the server JVM) and the UI must be active for it to generate a system message. Once the system message is generated you can see the message on any UI.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#17
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#18
|
||||
|
||||
I'm pretty sure the UI on the server will share the same JVM as the service. I don't run it that way so I'm not certain.
I always have an extender running and that takes care of things.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#19
|
|||
|
|||
Quote:
If you use placeshifter and connect up to the server and install the plugin it will report the heap of service mode. Same idea if using an extender. Then you have a GUI being used in service mode and another reason I switched from using extenders. In theory by NOT using extenders or placeshifters the GUI does not share memory with service mode so recordings would be unaffected if the GUI crashed. But the GUI code that runs on the server for placeshifter or an extender would be more likely to crash the server code that is recording. Since running a client GUI on the same OS as the server code could still crash the OS you could still cause recording problems but it isn't as likely. Of course SageTV doesn't crash on me anyway so it is a minor point. I switched because at first I wanted to limit myself to just one (out of three) extenders used to have spares for when they die. I completely retired my extenders because I liked the faster menus and the ability to get BluRay menus with TMT. I have switched back to an extender in the Living room temporarily when TCM became TCMHD and I found that I cannot playback the HD-PVR or Colossus recordings without stuttering. The extender has no problem nor does the Zotac i3 booksize client. Just my Q6600 Asus P5Q-EM server. I hope to upgrade to an Ivy Bridge i5 within a few months and retire the extender again. |
#20
|
|||
|
|||
Thanks Bob,
I did some testing and the Service and the UI do use seperate JVM.. I guess the plugin does not run in service mode. So I would need double the JVM. I will bypass using this plugin for now thx.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
STV Import: CPU, Memory and Motherboard Monitor Module (20 Sep 2007 v1.5) | nielm | SageTV Customizations | 63 | 05-04-2012 09:09 AM |
STV Import: Java Heap Monitor | tmiranda | Customization Announcements | 2 | 12-21-2010 04:23 PM |
Java Heap help | gibsonpa | SageTV Software | 3 | 08-06-2008 03:11 PM |
STV Import: Weather Monitor | deria | SageTV Customizations | 35 | 08-23-2006 08:15 PM |
STV Import: System Monitor | deria | SageTV Customizations | 109 | 06-16-2006 05:11 PM |