|
Gemstone for v7 This forum is for discussing the user-created Gemstone custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Weirdness in JVM usage with Gemstone
Currently I have three extenders connected to my server and the SageUI on the server. My JVM usage (according to the monitor in Gemstone) is 680MB out of a total of 1038MB. That's pretty good.
But other times I have seen JVM usage with no extenders connected - just the UI on the server. Any idea why that would be? In the past I would generally see a very strong correlation between the number of extenders connected and JVM usage and 4-5 connectors would crash the system. I have 8 extenders in my house (one more in the pool cabana from May-Sep) so this is an issue for me. If I don't have most of these extenders on UPSes then a power flash would cause a Sage crash as all of the extenders would restart and try to connect to the server (which has always had a UPS).
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
|||
|
|||
The UI on the server also takes memory from the same JVM so it will still indicate use if it is open. A separate client running on another PC will use it's own JVM and not the servers.
Sage/Java also does not automatically cleanup (garbage collect) memory unless it feels it needs to. So even if extenders are no longer connected the memory will still show in the JVM counts....until needed and then it will clean up and make space available. As mentioned before, you can force the cleanup from the Main MEnu of Gemstone by pressing DELETE too. k |
#3
|
|||
|
|||
Quote:
What is the Java command to do this? Maybe I should run a cron job in SJQ to force a cleanup a couple of times a day?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#4
|
||||
|
||||
Quote:
The one big downside of SageTV & Java IMO. |
#5
|
|||
|
|||
I am not an expert on these things but someone mentioned in a post that if Sage had ever been rewritten in 64 bit code then they could have used the 64 bit JVM and used a lot more than 1GB for the JVM, solving this problem if you had enough RAM in your PC.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#6
|
||||
|
||||
I assume they've solved this by now in Google Fiber TV.
|
#7
|
|||
|
|||
Maybe, maybe not. It may depend on how many clients they expect you to have running with Google Fiber. Hopefully we get a better idea when Brent finally gets his Google Fiber install.
How many extenders do you have? I would think that this isn't as much of an issue for people with 1-2 extenders, as it is for someone like me with 8-9 and it is not unusual for 5-6 to be used in any 24 hour period.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#8
|
|||
|
|||
Quote:
k |
#9
|
|||
|
|||
Is it fairly simple Java code to do a cleanup? If so can you please post it. Thanks.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#10
|
||||
|
||||
Quote:
I have other plug-ins as well (SJQ/SJQ UI, enable favorites, CMT, commercial detector & UI, comskip etc.), but it is always the enabling of fanart caching plug-ins that cause the memory creep for me. |
#11
|
|||
|
|||
Quote:
Code:
java.lang.System.gc() k |
#12
|
|||
|
|||
Quote:
Certainly older Diamond and Gemstone versions did "leak" JVM but I do find this one to be relatively good at keeping it cleaned up. YMMV. k |
#13
|
|||
|
|||
My issue is likely that I have so many and that each one doesn't cleanup when it goes into standby mode.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#14
|
|||
|
|||
Do you pause a few seconds between the cleanup calls?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#15
|
|||
|
|||
No I do not.
k |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Menu Weirdness | samgreco | Gemstone for v7 | 2 | 01-23-2013 10:54 PM |
CC Weirdness | camus | SageTV Software | 3 | 05-13-2007 12:10 AM |
My Videos Weirdness?? | dpackham | SageTV Customizations | 3 | 04-09-2007 03:10 PM |
SageMC16x9 and MVP: Some weirdness | Jesse | SageTV Customizations | 9 | 06-28-2006 08:43 PM |
Graphic weirdness. | flight2k | SageTV Software | 0 | 12-20-2004 08:33 PM |