|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Linux 9.1.7 - VERY high java
Sage Linux v9.1.7.581
Linux Mint 18 guest in Oracle vbox (8 GB RAM) within Windows 7x64 host, 32GB RAM Java 1.8.0_151 memory set at 2048 Is anyone else seeing very high JVM heap size in linux, the v9 9.1.7.581 version? I actually got two warnings last night - Java heap has exceeded warning level (heap size set at 2048). I have never had a warning in Linux before. So I set up a bare installation of versions 9.1.7.581 and of 9.0.14 with no plugins and only 1 tuner. In version 9.0.14 a typical memstat, shortly after starting, in Sagetv_0 .txt file is: Used=103MB Total=152MB Max=1908MB in 9.1.7 Used=592MB Total=1010MB Max=2147MB Last night with my regular full setup going the stats were: Used=1693MB Total=2136MB Max=2147MB I'm attaching the two Sagetv_0.txt files from my testing with the basic setups and if anyone can see why I am having this problem, I would really appreciate it...sorry 1 file is zipped because it was too large. Thanks so much, Julie Last edited by jt4242; 10-26-2017 at 03:56 PM. |
#2
|
||||
|
||||
I looked at the MemStats in your .zip log file, and not showed it over 600mb out of the 2g that you set.
Quote:
__________________
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 |
#3
|
|||
|
|||
I know but SageTV was only on for 10 minutes, I had only 1 tuner installed and there were no plugins installed so, from what I had been used to, even 600MB seems high.
I don't have the .txt file from last night when I got the warnings. I guess my biggest concern was getting the warnings - it just has never happened to me with Linux. I posted the two .txt files to also ask why memory seems to be handled so differently in each version. With 0.14, even now (I'm back on that version), the highest my usage has gotten after many hours is 330/353/1909 but with 9.17, those numbers were higher than 1693/2136/2147MB. And, maybe this is a dumb question, but why, when the same amount of memory is allocated in both versions, the MAX in 0.14, shows as 1909 but as 2147 in v9.17? I'll go back to 9.1.7 tonight and try to get a .txt file when it exceeds the limits. |
#4
|
||||
|
||||
I did see some exceptions related to sdepg in the log that you posted. Not sure how that might impact stuff. It was looking like it was trying to download some images from schedules direct. Not sure of all the changes in this release. I'm running this release, and to be honest, I see my memory to be high, but it never affects my usage. Depending on what it's doing, java will keep allocating memory, and so, a 2g java will eventually fill up, and then it will keep recovering memory as needed. It's only an issue if you start getting java Out of Memory errors, which generally indicates a memory leak in the code.
__________________
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 |
#5
|
||||
|
||||
Quote:
High heap usage is mostly because of how G1GC works. We could just stop using it completely, but like you stated, unless you actually see OOM errors, there isn't a problem.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache). Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI. Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom). Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG |
#6
|
|||
|
|||
Thank you both. I'm glad to know that the high memory is not just me - though I do seem to be alone in getting out of memory errors. And reading about G1GC has been interesting.
So far no more errors but I'll keep watching and post if any occur - thank you again. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Debug SageTV Server on Linux (focus on native libraries not java) | mwnswiss | SageTV Github Development | 0 | 09-19-2015 03:45 AM |
slow UI and high java mem usage... | jbuszkie | SageTV v7 Customizations | 21 | 10-17-2013 09:51 AM |
SageTV 6 Client problems after Java 7 install, Java 6 uninstall | alisonnic | SageTV Software | 5 | 01-24-2013 02:51 PM |
Tables, Java - Java Not being Called for each TableComponent Cell | stuckless | SageTV Studio | 3 | 04-02-2008 03:03 PM |
Beta V1.2.2 Java java.lang Null Pointer Exception | hamptonhills | SageTV Beta Test Software | 1 | 03-27-2003 12:11 PM |