|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Why is Sage Server using so much memory?
What stuff, for lack of a better word, causes STV server to use in excess of 1GB of memory?
Is it phoenix, metadata, fanart? I have a pretty beefy system but times it becomes sluggish because to much DRAM memory is being used by STV.
__________________
bits (Windows Media Center Convert) PC: W7 32bit, Intel Q9550 2.83 Quad, 4GB DRAM Cap Devices: Colosuss+UIRT+Cable STB; HDHR QAM+OTA, USB MediaSonic (6TB) Network Players: HD200, (2) HD300s Viewing: Samsung 55" 8000, Sony 50" and HP 37" The more complicated it is the more likely it will break! |
#2
|
||||
|
||||
Easy enough to disable them and find out.
__________________
-- Greg |
#3
|
|||
|
|||
Mymovies (which I think you use) can get really high on usage because of all the fanart. Especially with multiple extenders in use. Any addin that uses fanart heavily like that will result in memory jumps. That being said mine usually doesn't go above around 760mb on my system.
Cheers |
#4
|
|||
|
|||
I was moving in that direction but I was hoping someone had already done the work and was willing to share the results.
__________________
bits (Windows Media Center Convert) PC: W7 32bit, Intel Q9550 2.83 Quad, 4GB DRAM Cap Devices: Colosuss+UIRT+Cable STB; HDHR QAM+OTA, USB MediaSonic (6TB) Network Players: HD200, (2) HD300s Viewing: Samsung 55" 8000, Sony 50" and HP 37" The more complicated it is the more likely it will break! |
#5
|
|||
|
|||
Quote:
__________________
bits (Windows Media Center Convert) PC: W7 32bit, Intel Q9550 2.83 Quad, 4GB DRAM Cap Devices: Colosuss+UIRT+Cable STB; HDHR QAM+OTA, USB MediaSonic (6TB) Network Players: HD200, (2) HD300s Viewing: Samsung 55" 8000, Sony 50" and HP 37" The more complicated it is the more likely it will break! |
#6
|
|||
|
|||
I would still try what greg suggested. Try disabling my UI and my general smm-api and see if your usage is still spiking. At least you can eliminate that it is nothing else.
|
#7
|
|||
|
|||
At the moment the SMM plugin is disabled and has been for a few weeks. So that is not the memory sink. I do have fanart enabled so that is the next logical thing to disable.
__________________
bits (Windows Media Center Convert) PC: W7 32bit, Intel Q9550 2.83 Quad, 4GB DRAM Cap Devices: Colosuss+UIRT+Cable STB; HDHR QAM+OTA, USB MediaSonic (6TB) Network Players: HD200, (2) HD300s Viewing: Samsung 55" 8000, Sony 50" and HP 37" The more complicated it is the more likely it will break! |
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
Quote:
I'd like to point out, as I've done on other times... there is huge distinction between a memory leak and simply consuming memory. Java is like the borg of memory. It will consume as much memory as you allocate to it... over time. In essence, when java needs to create a new object, it will simply grab the next available piece of memory. It may, if it has time, run a garbage collection to reclaim memory, but that only reclaims memory for it's internal jvm objects... it does not release memory back to windows/linux OS. If you are seeing from the web ui, or from a stv plugin, that the java heap is always increasing, and never decreasing, to the point where you OutOfMemory errors, then you definately have a memory leak. But if it just rapidly increases to 1g, and you never get an out of memory, then that may be normal, given how lazy java is about reclaiming objects, and it will never release that memory back to the OS. I would guess that if you removed all fanart plugins, then you'll notice a huge difference in your memory usage.
__________________
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 |
#10
|
||||
|
||||
This question pops up pretty regularly and yes 1GB+ does seem like a large chunk of memory. A couple thing that I have gleamed from past post.
1) Java does not relinquish allocated memory very readily. 2) Sage is streaming video, images, and content to devices on the network so at times having that extra little bit really doesn’t hurt 3)Every Addon you use will probably increment Sage’s memory usage by a bit more. 4) In modern computing and looking at your specs Sage taking a little over 1GB of ram is really not a big deal. My sage box is dedicated and it has 3 gigs of ram. If I take half of it up using Sage no big deal. Since you have 4GB of ram I would think 1.5 GB taken up by Sage would not be a big deal. Something to look at is you Page File usage. If it’s not growing or being hit then Sage’s ram usage is probably not having adverse affects on your system. I don’t think mine has been used in years and I am hovering at 3 gigs total. |
#11
|
|||
|
|||
My system is always at 850 to 900 mb of memory dedicated to Sage, I have had to start restarting Sage every few days as it seems to hang. (service control will not even let me stop the service). I believe it is sage running out of allocated memory, but sure what the MAX i can make the heap size to see if that helps it. Its tough to troubleshoot as it takes a few days to build up and by that time I forget that I need to be watching it.
__________________
Sage Server: i5-2500K 8 GB DDR, 6000gb HDD, 4xHD-PVR < 4xBell 6141, Win7 x64 Client 1: HD-200, Panasonic 42PX75 Client 2: HD-300, Samsung LCD Client 3: HD-300, Samsung PN50C550 Client 4: MS Surface Pro |
#12
|
|||
|
|||
I disabled it about 3wks ago because I needed to do some major fixing of MM. I moved lots of files and drives around and needed to correct their location in MM. The other issue was that I did not know what to do with all of my archived recordings, which are lots of TV movies and documentary stuff.
I am hoping to get things fixed up in the next month or so.
__________________
bits (Windows Media Center Convert) PC: W7 32bit, Intel Q9550 2.83 Quad, 4GB DRAM Cap Devices: Colosuss+UIRT+Cable STB; HDHR QAM+OTA, USB MediaSonic (6TB) Network Players: HD200, (2) HD300s Viewing: Samsung 55" 8000, Sony 50" and HP 37" The more complicated it is the more likely it will break! |
#13
|
|||
|
|||
Quote:
__________________
bits (Windows Media Center Convert) PC: W7 32bit, Intel Q9550 2.83 Quad, 4GB DRAM Cap Devices: Colosuss+UIRT+Cable STB; HDHR QAM+OTA, USB MediaSonic (6TB) Network Players: HD200, (2) HD300s Viewing: Samsung 55" 8000, Sony 50" and HP 37" The more complicated it is the more likely it will break! |
Tags |
memory java leak, memory leak |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sage 6.2 memory use | stevech | SageTV Software | 12 | 12-01-2008 10:33 AM |
Sage memory use | tsitalon1 | SageTV Software | 9 | 01-30-2007 02:59 PM |
Sage using 180+MB of memory! | lovingHDTV | SageTV Software | 4 | 06-24-2005 10:46 AM |
Memory leak in Sage? | abasu2003 | SageTV Software | 5 | 03-27-2005 06:41 PM |