![]() |
|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Discussion of Possible Memory Leak
I'm not 100% positive this is related to MC, but support seems to think so. I'm having problems with memory usage steadily climbing with 6.5.9. Support had me switch back to the default STV and the problem went away, but I just can't live without MC.
My setup: 3xHD100, 1HD200 all running MC pre-release 12. No fanart turned on anymore. BeyondTV theme 5 SD tuners and an HDHR for OTA Java 1.6 update 11 (also tried update 7) 4GB on XP (only 3.2 recognized) Java Heap at 1.332GB Takes about 2 days to reach critical problems. Usage is apparent after just 3 hours or so. Any place to start looking for the problem? Edit: One more thing. When I go to a screen from the original STV (i.e., Detailed Setup) a large amount of extra memory is used and doesn't seem to be released when I return to MC. Last edited by toricred; 02-07-2009 at 10:46 AM. |
#2
|
|||
|
|||
I have the exact same issue... I was getting up to about 700-800MB in about 1 day and over 1GB in a few days. I was cycling every day to get by.
I am running the following setup: SageTV 6.5 2xHD100 1xHD200 1xHD-PVR 1xdiamond usb capture SageMC6.3.8b_12 plugins: iMovie Favorites excluder Movie info screen TV info screen SageMC AMG 2.0 miniguide I decided to try using the default STV and the memory stayed pretty constant at 300MB after 24 hours. I tried loading SageMC 6.3.8b_12 and memory spike up about 100MB for each extender that was powered up. But when I would turn them off, the memory would go back to about 300-400MB. I let the MC 6.3.8b 12 run for about 24 hours and it stayed pretty consistant. I am trying now with a few of the plugins loaded to try to see if I can isolate it down. Thanks, Jeff |
#3
|
||||
|
||||
I'm glad to hear it's not MC itself. The imports I have installed are: OSDClock, OSDPlaytime, EP's Video Tools, iMovies, SageMC Popup Info (added after the problem started), and the replacement Info screens for &TV and Movies. Which ones were you running?
Last edited by toricred; 02-07-2009 at 02:08 PM. |
#4
|
|||
|
|||
I was originally running on all extenders:
iMovie Favorites excluder 2.7 Movie info screen TV info screen SageMC AMG 2.0 miniguide for my 1st test, I loaded 1 extender with Favorites excluder, iMovie, and AMG. The rest of the extenders I am only going to try iMovie and AMG to see how that goes... I am also wondering if it could be related to the cover art cache... I have that turned on, and if I browse through my videos, I noticed the memory goes up a few 100MB. If that is per extender, that could add alot of memory usage. Thanks, Jeff |
#5
|
||||
|
||||
My current thinking is that it is iMovies, or one of the new info screens. I already have my cache turned off for all my extenders so for me at least this isn't the problem.
|
#6
|
||||
|
||||
I moved this discussion to its own thread so it doesn't clutter up the bug report thread. If this does turn out to be a bug in SageMC, just post the findings there. Thanks.
Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#7
|
|||
|
|||
Will Do...
That test was a bomb... I navigated through various screens, got the memory up to 800MB in about 15 minutes and the service would not even stop... I just tried with iMovie,AMG, and 24hour skip plugin loaded, and it seems to be running pretty well.. I scrolled through the video screen, iMovie screen, played various video files and the memory is running about 250MB.. I will let this run over night and see how it turns out.. Thanks, Jeff |
#8
|
||||
|
||||
Quote:
It's interesting to hear that the test may not be giving the results we postulated. I hope something changes overnight or I'm going to be really confused. One question, are you using the fanart feature? |
#9
|
|||
|
|||
I have the fanart turned on and have a good amount of TV and Movie fan art setup.
I let it run for a few hours last night and the memory started climbin to about 500MB after about 30 minutes. I shutdown sagetv and turned off albumn art cache and restarted everything. I let it run overnight recording and watching a few movies and so far it as peaked at 365MB. Did you say you had your albumn art cache disabled? Thanks, Jeff |
#10
|
|||
|
|||
I have the same issue with b12 and only fanart turned on (using centrally stored option). I don't have any other stvi's loaded on top of SageMC. My service would crash every other day. I run a script each night to restart the service which is a good workaround for me for now but obviously not ideal.
Mike - can I provide any additional information or log files, etc to help you debug this?
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#11
|
||||
|
||||
I'm not running MC, but I've seen this with 6.4.8 as well. Takes a few days to hit the java heap size I set in the registry. Then things get sluggish. we'll see what happens when the HD200 gets here and I update to 6.5
__________________
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. |
#12
|
|||
|
|||
Do you happen happen to have your albumn cache enabled? I am wondering if it is related to that. It seems to default on and is set to 1000. I have a feeling that the cache is building up and consuming all of the memory in the JVM.
I have turned that off on all of my extenders and placeshifters and have been testing running all extenders with bluerays streaming and going through the video library on all of them, and the memory has stayed about 400MB. Thanks, Jeff |
#13
|
||||
|
||||
have to find out where that is. I do know that it's reloading folder.jpg images about every other screen I browse. go down 2, come back up 2 and they're not cached.
__________________
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. |
#14
|
|||
|
|||
Quote:
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#15
|
|||
|
|||
You are running the Default STV? What is your JVM heap size set to?
I have mine set to 1024MB. I have tried running with the default STV and the memory seems to stay low about 300MB and not increase. I am running sage 6.5 with 2xHD100 and 1xHD200 with SageMC on all. Thanks, Jeff |
#16
|
|||
|
|||
The setting is under Setup\SageMC\Enhancements\Cache Album Art
I found is was best to shutdown all extenders, sagetv server, edit the client files directly and restart everything to start out clean... Thanks, Jeff |
#17
|
||||
|
||||
I have the album art cache turned off on at least one of my extenders. I actually don't have any music in Sage so I have absolutely no reason to use it. I had forgotten that this is a client setting so I'll check all the clients.
|
#18
|
|||
|
|||
From what I have seen, that settings seems to be for caching all thumbnails, video and music...
I don't think a PC client would matter because they are running thier own JVM on the client PC. I have been up for 1 day 10 hours and has been pretty steady at 400-500MB. It did peak to 800MB at some point.. Thanks, Jeff |
#19
|
||||
|
||||
Interesting. Mine bombed today, after several restarts yesterday for some fine tuning, after using 1.5GB of memory. I sure wish I could figure out the difference. I'm back to restarting the service every night for now.
|
#20
|
|||
|
|||
One thing you could try is a setting in your sage.properties file:
allow_periodic_explicit_gc=true I read alot of posts that said this fixed thier high memory usage. It is supposed to have garbage collection run more often to free memory... Thanks, Jeff |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SageTV Process Memory Leak? | brandypuff | SageTV Software | 13 | 10-14-2008 05:14 PM |
SageTV client memory leak? | hocky98 | SageTV Software | 18 | 12-08-2006 01:32 AM |
Memory leak in Sage? | abasu2003 | SageTV Software | 5 | 03-27-2005 06:41 PM |
Possible Memory Leak? | Opopanax | SageTV Software | 6 | 02-04-2005 04:28 PM |
Memory leak in Sage 2 | Teg | SageTV Software | 31 | 12-14-2004 07:57 AM |