|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Memory leaks?
SageTV as an application. Windows Task Manager showed 180,000KB memory use by the app. I told Sage to restart the media player and the memory number reduced by 2,000KB. I exited Sage then ran it again, then viewed one recorded show. Now the memory use said 76,000K, a reduction of what, more than half?
Because Sage had been running several weeks when it arrived at 180,000KB, is this normal? Is it indicative of memory leak problems? |
#2
|
||||
|
||||
This is normal. It's fluctuations in the Java heap usage due to garbage collection.
If you want to see the 'real' usage then go into System Information. You can use the 'Delete' or 'Don't Like' commands in there to force a full garbage collection. SageTV also does a lot of caching of certain kinds of data and graphics, so that's the other reason it's so much less upon a restart.
__________________
Jeffrey Kardatzke Founder of SageTV |
#3
|
|||
|
|||
So the amount of RAM in use by that application and its processes that Windows' Task Manager displays is *incorrect* ?
|
#4
|
|||
|
|||
It's just the way that Java works, and it also depends on what SageTV is doing.
|
#5
|
|||
|
|||
If there is a real memory leak you will sooner or later get a java OutOfMemoryException. Java will not use more memory than what is configured for the max JVM heap size at startup (unless of course it's leaking in native JNI calls ..).
Just curious Narflex, what is the max java heap size SageTV is started with ? Dirk |
#6
|
|||
|
|||
So, for the intellectually challenged (me): Task Manager is telling me that Java's VM is retaining a 180MB+ allocation of RAM for its heap. This makes this memory unavailable to other processes, right? JVM is allowed to grow the heap to that size, eh?
So anyway, the question arose becuase Sage Tech Support asked about the memory use for the sageTV application - in answer to my (and others') recurring problem of slo-mo or high dropped frame+no-audio playbacks, where the cure is to reload the Media Player via a Sage Menu Choice. Cures it every time. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|