SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-07-2008, 07:25 AM
brandypuff brandypuff is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Berlin, MA
Posts: 378
SageTV Process Memory Leak?

I was alerted that my server needed to increase virtual memory. I checked and found that the SageTV service was consuming several hundred MB of process memory. The service had beem running for several days so I restarted it and memory utilization decreased.

So i was thinking that maybe i would write a script to restart the service every so often, automatically. However, what implications does that have on currently recording programs? Will the programs continue to record or will they stop when the SageTV service is stopped.
__________________
- James M -

Capture Devices: HDHomerunXTEND, HDHomerunPrime
Reply With Quote
  #2  
Old 10-07-2008, 07:31 AM
brandypuff brandypuff is offline
Sage Aficionado
 
Join Date: Mar 2008
Location: Berlin, MA
Posts: 378
I see there is another thread similar to my issue "High Memory Usage from HD extender??". I will check for the latest JAVA version I am running. I do have the latest Sage Software installed, however.

I would still like to know what implications of restarting the server will have a currently recording show.
__________________
- James M -

Capture Devices: HDHomerunXTEND, HDHomerunPrime
Reply With Quote
  #3  
Old 10-07-2008, 08:10 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
I've never intentionally tried it, but it would be easy to set a recording, then issue a net stop sagetv/ net start sagetv, and see if the recording keeps on recording.

I recall someone saying recently that if Sage knew that a recording had a "hiccup" in it, it would keep the file but try to re-record it if it could. Again, I've never tested it.

I do restart my sage service q. weekly, at which time I do a wiz and properties backup too. Sunday at 4:30AM is a pretty good time for me not to have another recording going.

Matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #4  
Old 10-07-2008, 11:25 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Recording stops when the service stops. If you stop and restart in the middle of a recording, it will resume recording, but there'll be a gap.

Just because memory usage goes down when you restart doesn't necessarily mean there's a leak. A lot of stuff doesn't get loaded into memory until it's needed. This includes UI graphics for Placeshifter and Extender clients. So it's normal for memory usage to increase for a while as you navigate around the UI, and then level off once you've touched all the screens you routinely use. Periodic restarts will flush those caches and cause things like thumbnails and album art to be reloaded from disk a lot more often, slowing down UI performance.
__________________
-- Greg
Reply With Quote
  #5  
Old 10-07-2008, 08:37 PM
spvoyek spvoyek is offline
Sage User
 
Join Date: May 2008
Posts: 60
I've also recently noticed that there may be a memory leak. I'm running SageTV 6.4.8 (not in service mode). I've been running 6.4.8 since it was released and everything seemed fine, but at times the UI would get annoyingly slow (long spinning busy indicator). After doing some research, I bumped up the Java heap size to 512 and things seemed good, but maybe that was largely due to a restart of the SageTV application. I'm running Java 6 Update 7. Anyways, I had always been using the stock STV, but decided to give SageMC a try. Then things got annoyingly slow again. Last night I brought up the task manager (running Windows Vista) to look at the SageTV memory usage. What I noticed was that the memory usage would increase when I turned on my HD extender, but would not decrease when I turned it off. Turn it back on, memory usage increases again. Turn it back off, doesn't decrease. And so on, and so on...

Actually, during the 3rd time turning it back on, the memory usage shot up to close to around 500M. The power cycle after that, it stayed right around there. Then I started playing a ripped DVD and the memory usage slowly trickled down to about 420M.

Last edited by spvoyek; 10-07-2008 at 09:02 PM.
Reply With Quote
  #6  
Old 10-07-2008, 09:07 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I Agree with Greg on this. The memory leak may be a perception. When you turn on the extender, i would supect that you will see a huge increase in the amount of memory that java is using, since it's creating a "session" for you on the server. That session contains all your screens, images, etc. When you turn off the extender, don't expect memory to suddenly go down. Java doesn't work that way. When you turn off the extender, that session can be garbarge collected, but it will take a long time before java reclaims all that memory. And java may not even try to reclaim it until it actually needs more memory. So this can lead to the perception of a memory leak, when in fact, java is doing what it does normally.

All that being said, developers can write code that helps java become more efficient with garbarge collection, but in general, we tend to get lazy and just let java reclaim memory at it's own pace. Java programs can suffer from memory leaks, especially if you have objects a web of objects that hold references to other objects. This sometimes can lead to a problem where the garbage collector is confused on how to reclaim object because other objects hold a reference to it. I've seen this happen, but it's rare.

I think that sage ships with 256mb of memory by default. And probably for a couple of tuners and a couple of standard def client, this is fine. But as you start loading other plugins, such as sagemc, web servers, imdb lookup, dynamic menus, etc, you should expect to increase your memory. Aslo, if you are using multiple HD clients, then expect to need to increase your jvm memory. Personally, I'm surprised that SageTV still ships with a 256mb default setting, epecially as more an more people are using HD.

sorry for the long post, but Java and Memory can be a complex thing
Reply With Quote
  #7  
Old 10-08-2008, 06:42 AM
Polypro Polypro is offline
Sage Icon
 
Join Date: Jun 2005
Posts: 1,804
I haven't re-booted in a few weeks...my service is at 175MB and the UI is at 330MB. These numbers are fairly constant. 9 tuners, imports, a client...default Sage Java memory allocation.

P
Reply With Quote
  #8  
Old 10-12-2008, 10:20 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
I think I've got a memory leak as well. When I start Sage (6.4.8, not in service mode) it starts out using 360 MB and after a day or two of normal usage it climbs to over 500 MB. After another day Sage just exits. There is nothing specific in the log file. Max uptime for me is about 4 days.

This is not normal. In the past I've had Sage running for months without any problem at all.

I had to setup a scheduled task to turn off and turn on Sage daily at 4 AM if I want to avoid a tech support call at work.

Maybe when "real life" stops getting in the way I'll have time to file a bug report on this.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #9  
Old 10-12-2008, 11:57 AM
Ryokurin's Avatar
Ryokurin Ryokurin is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 455
Send a message via ICQ to Ryokurin Send a message via AIM to Ryokurin Send a message via Yahoo to Ryokurin
I always had one in XP for years, if I didn't reboot the system in a week or two and never solved it. This is going back several versions and several versions of Java including the pre-releases but I haven't experienced it once in Vista. I just made it a ritual to restart it every friday or so, since all my shows happened mostly in primetime.
Reply With Quote
  #10  
Old 10-12-2008, 01:59 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
I looked in the Sage directory and found I'm getting a Java error each time the system crashes. Here is the crash from this AM.
Code:
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x052866f4, pid=3380, tid=3760
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode windows-x86)
# Problematic frame:
# C  [ImageLoader.dll+0x66f4]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x05767400):  JavaThread "Thread-116893" daemon [_thread_in_native, id=3760, stack(0x0ebe0000,0x0ece0000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00000000, EDX=0x0000004f
ESP=0x0ecdf120, EBP=0x0ecdf448, ESI=0x7e4a0020, EDI=0x00000000
EIP=0x052866f4, EFLAGS=0x00010202

Top of Stack: (sp=0x0ecdf120)
0x0ecdf120:   007e8100 0649d800 000017d0 00000001
0x0ecdf130:   00ad0000 00000201 06420000 0ecdf36c
0x0ecdf140:   7c912270 7c911596 7c9106eb 7e4a0020
0x0ecdf150:   00001000 77c5fce0 00000000 00000000
0x0ecdf160:   00000000 00000000 00000000 003f4080
0x0ecdf170:   003f4080 003f4080 00000000 00000000
0x0ecdf180:   00000000 00000000 000017d0 0a4d1808
0x0ecdf190:   052860bd 0528b3f0 0528b3a0 0528b440 

Instructions: (pc=0x052866f4)
0x052866e4:   8b b5 04 fd ff ff 0f b6 14 32 8b 8d 30 fd ff ff
0x052866f4:   88 14 19 01 f0 8d 0c 38 0f b6 41 01 8b b5 28 fd 


Stack: [0x0ebe0000,0x0ece0000],  sp=0x0ecdf120,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ImageLoader.dll+0x66f4]
C  [ImageLoader.dll+0x713e]
J  sage.media.image.ImageLoader.loadScaledImageFromFile(Ljava/lang/String;II)Lsage/media/image/RawImage;
J  sage.bk.a(Lsage/cq;I)Z
J  sage.cq.for(Lsage/bo;I)J
J  sage.bk.a(Lsage/cq;)V
J  sage.d.d$48.new(Lsage/e$a;)Ljava/lang/Object;
J  sage.av.a(Lsage/e$a;)V
J  sage.a.m$b.a([Lsage/a/m$c;Lsage/a/l;)Ljava/lang/Object;
J  sage.a.m.a(Lsage/e$f;Lsage/a8;)Ljava/lang/Object;
J  sage.e.a(Ljava/lang/String;Lsage/e$f;Lsage/a8;Lsage/bi;)Ljava/lang/Object;
J  sage.a8.a(Lsage/bi;Lsage/e$f;Ljava/util/Set;Lsage/a8;ZLjava/util/Set;)Lsage/e$b;
J  sage.a8$2.run()V
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  sage.media.image.ImageLoader.loadScaledImageFromFile(Ljava/lang/String;II)Lsage/media/image/RawImage;
J  sage.bk.a(Lsage/cq;I)Z
J  sage.cq.for(Lsage/bo;I)J
J  sage.bk.a(Lsage/cq;)V
J  sage.d.d$48.new(Lsage/e$a;)Ljava/lang/Object;
J  sage.av.a(Lsage/e$a;)V
J  sage.a.m$b.a([Lsage/a/m$c;Lsage/a/l;)Ljava/lang/Object;
J  sage.a.m.a(Lsage/e$f;Lsage/a8;)Ljava/lang/Object;
J  sage.e.a(Ljava/lang/String;Lsage/e$f;Lsage/a8;Lsage/bi;)Ljava/lang/Object;
J  sage.a8.a(Lsage/bi;Lsage/e$f;Ljava/util/Set;Lsage/a8;ZLjava/util/Set;)Lsage/e$b;
J  sage.a8$2.run()V
v  ~BufferBlob::Interpreter
v  ~BufferBlob::StubRoutines (1)

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
=>0x05767400 JavaThread "Thread-116893" daemon [_thread_in_native, id=3760, stack(0x0ebe0000,0x0ece0000)]
  0x0439f400 JavaThread "Thread-116692" daemon [_thread_in_native, id=1244, stack(0x614a0000,0x615a0000)]
  0x04312c00 JavaThread "Timer-3" daemon [_thread_blocked, id=3720, stack(0x0a600000,0x0a700000)]
  0x0d2a0800 JavaThread "ThumbnailGen" daemon [_thread_blocked, id=3452, stack(0x0f850000,0x0f950000)]
  0x03e5cc00 JavaThread "Thread-538" daemon [_thread_blocked, id=1056, stack(0x076c0000,0x077c0000)]
  0x035b3800 JavaThread "Thread-374" daemon [_thread_blocked, id=2388, stack(0x0b5a0000,0x0b6a0000)]
  0x0419e400 JavaThread "Timer-2" daemon [_thread_blocked, id=3360, stack(0x0ae50000,0x0af50000)]
  0x041df400 JavaThread "EventRouter-00085c53a396" daemon [_thread_blocked, id=752, stack(0x0ad50000,0x0ae50000)]
  0x05a76800 JavaThread "VideoFrame-00085c53a396" daemon [_thread_blocked, id=3948, stack(0x0ac50000,0x0ad50000)]
  0x05a75400 JavaThread "AWTThreadWatcher-00085c53a396" daemon [_thread_blocked, id=144, stack(0x0ab50000,0x0ac50000)]
  0x05a74800 JavaThread "FinalRender-00085c53a396" daemon [_thread_blocked, id=3864, stack(0x0aa50000,0x0ab50000)]
  0x03f09c00 JavaThread "ActiveRender-00085c53a396" daemon [_thread_blocked, id=3636, stack(0x0a950000,0x0aa50000)]
  0x03f09400 JavaThread "MiniUIClientReceiver" daemon [_thread_in_native, id=4080, stack(0x0a850000,0x0a950000)]
  0x03f54800 JavaThread "Timer-1" daemon [_thread_blocked, id=1816, stack(0x0a200000,0x0a300000)]
  0x03e25c00 JavaThread "EventRouter-00085c53a331" daemon [_thread_blocked, id=784, stack(0x0a000000,0x0a100000)]
  0x03e6d800 JavaThread "AWTThreadWatcher-00085c53a331" daemon [_thread_blocked, id=3060, stack(0x09f00000,0x0a000000)]
  0x03eb1800 JavaThread "VideoFrame-00085c53a331" daemon [_thread_blocked, id=2500, stack(0x09e00000,0x09f00000)]
  0x04318800 JavaThread "FinalRender-00085c53a331" daemon [_thread_blocked, id=3888, stack(0x09d00000,0x09e00000)]
  0x04318400 JavaThread "ActiveRender-00085c53a331" daemon [_thread_blocked, id=2488, stack(0x09c00000,0x09d00000)]
  0x03e20c00 JavaThread "MiniUIClientReceiver" daemon [_thread_in_native, id=1744, stack(0x09b00000,0x09c00000)]
  0x04291400 JavaThread "Timer-0" daemon [_thread_blocked, id=3796, stack(0x09a00000,0x09b00000)]
  0x0410e800 JavaThread "Session cleaner" daemon [_thread_blocked, id=4056, stack(0x083c0000,0x084c0000)]
  0x042f7800 JavaThread "Startup-net.sf.sageplugins.webserver.StartServer" daemon [_thread_in_native, id=644, stack(0x082c0000,0x083c0000)]
  0x03f48c00 JavaThread "VideoFrame-SAGETV_PROCESS_LOCAL_UI" daemon [_thread_blocked, id=1320, stack(0x081c0000,0x082c0000)]
  0x03eb4800 JavaThread "HotplugStorage" daemon [_thread_blocked, id=3576, stack(0x080c0000,0x081c0000)]
  0x03e75400 JavaThread "PSNATMGR" daemon [_thread_blocked, id=1668, stack(0x07fc0000,0x080c0000)]
  0x03e31000 JavaThread "LocatorRegistrationClient" daemon [_thread_blocked, id=3580, stack(0x07ec0000,0x07fc0000)]
  0x042f9800 JavaThread "MiniUIServer" daemon [_thread_in_native, id=2620, stack(0x07dc0000,0x07ec0000)]
  0x03eb7c00 JavaThread "MiniMVP" daemon [_thread_in_native, id=3980, stack(0x07cc0000,0x07dc0000)]
  0x03edfc00 JavaThread "MiniTftp" daemon [_thread_in_native, id=1768, stack(0x07bc0000,0x07cc0000)]
  0x03edf400 JavaThread "MiniBootp" daemon [_thread_in_native, id=3704, stack(0x07ac0000,0x07bc0000)]
  0x03f19800 JavaThread "SageTVMiniDiscoveryServer" daemon [_thread_in_native, id=792, stack(0x079c0000,0x07ac0000)]
  0x04304800 JavaThread "SageTVDiscoveryServer" daemon [_thread_in_native, id=2400, stack(0x078c0000,0x079c0000)]
  0x03f98c00 JavaThread "SageTVServer" daemon [_thread_in_native, id=2264, stack(0x077c0000,0x078c0000)]
  0x03607000 JavaThread "PowerManagement" daemon [_thread_blocked, id=1976, stack(0x06cc0000,0x06dc0000)]
  0x035ed400 JavaThread "Scheduler" daemon [_thread_blocked, id=3064, stack(0x06bc0000,0x06cc0000)]
  0x03ec1800 JavaThread "MediaServer" daemon [_thread_in_native, id=3764, stack(0x06ac0000,0x06bc0000)]
  0x03ec1400 JavaThread "FSManager" daemon [_thread_blocked, id=1728, stack(0x069c0000,0x06ac0000)]
  0x035ec400 JavaThread "Carny" daemon [_thread_blocked, id=1700, stack(0x068c0000,0x069c0000)]
  0x0361b800 JavaThread "EPG" daemon [_thread_blocked, id=2544, stack(0x066c0000,0x067c0000)]
  0x0361a800 JavaThread "Ministry" daemon [_thread_blocked, id=3928, stack(0x065c0000,0x066c0000)]
  0x041f5c00 JavaThread "MsgManager" daemon [_thread_blocked, id=3804, stack(0x064c0000,0x065c0000)]
  0x041f5400 JavaThread "Seeker" daemon [_thread_blocked, id=652, stack(0x062c0000,0x063c0000)]
  0x03fbac00 JavaThread "Flusher" daemon [_thread_blocked, id=2100, stack(0x05640000,0x05740000)]
  0x0416e000 JavaThread "AWTThreadWatcher-SAGETV_PROCESS_LOCAL_UI" daemon [_thread_blocked, id=588, stack(0x05540000,0x05640000)]
  0x041a4400 JavaThread "FinalRender-SAGETV_PROCESS_LOCAL_UI" daemon [_thread_blocked, id=1692, stack(0x05440000,0x05540000)]
  0x04185800 JavaThread "ActiveRender-SAGETV_PROCESS_LOCAL_UI" daemon [_thread_blocked, id=3128, stack(0x05340000,0x05440000)]
  0x04169800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=1812, stack(0x05000000,0x05100000)]
  0x04066800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3976, stack(0x049d0000,0x04ad0000)]
  0x0361ec00 JavaThread "AWT-Shutdown" [_thread_blocked, id=212, stack(0x048d0000,0x049d0000)]
  0x0400b400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3608, stack(0x047d0000,0x048d0000)]
  0x035ae800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3508, stack(0x03c20000,0x03d20000)]
  0x035ab400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2840, stack(0x03b20000,0x03c20000)]
  0x035a7800 JavaThread "Attach Listener" daemon [_thread_blocked, id=456, stack(0x03a20000,0x03b20000)]
  0x035a6c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3316, stack(0x03920000,0x03a20000)]
  0x03599000 JavaThread "Finalizer" daemon [_thread_blocked, id=2572, stack(0x03820000,0x03920000)]
  0x03594800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3920, stack(0x03720000,0x03820000)]
  0x01025c00 JavaThread "main" [_thread_in_native, id=176, stack(0x00030000,0x00130000)]

Other Threads:
  0x03590000 VMThread [stack: 0x03620000,0x03720000] [id=3256]
  0x035c0800 WatcherThread [stack: 0x03d20000,0x03e20000] [id=192]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 32832K, used 15038K [0x10010000, 0x123b0000, 0x14ed0000)
  eden space 29184K,  49% used [0x10010000, 0x10e3bb98, 0x11c90000)
  from space 3648K,  14% used [0x11c90000, 0x11d13fd0, 0x12020000)
  to   space 3648K,   0% used [0x12020000, 0x12020000, 0x123b0000)
 tenured generation   total 437320K, used 324096K [0x14ed0000, 0x2f9e2000, 0x50010000)
   the space 437320K,  74% used [0x14ed0000, 0x28b50348, 0x28b50400, 0x2f9e2000)
 compacting perm gen  total 16128K, used 15953K [0x50010000, 0x50fd0000, 0x54010000)
   the space 16128K,  98% used [0x50010000, 0x50fa4588, 0x50fa4600, 0x50fd0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0054a000 	C:\Program Files\SageTV\SageTV\SageTV.exe
0x7c900000 - 0x7c9b0000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f5000 	C:\WINDOWS\system32\kernel32.dll
0x7e410000 - 0x7e4a0000 	C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 	C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 	C:\WINDOWS\system32\IMM32.DLL
0x77dd0000 - 0x77e6b000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 	C:\WINDOWS\system32\RPCRT4.dll
0x5d090000 - 0x5d12a000 	C:\WINDOWS\system32\COMCTL32.dll
0x763b0000 - 0x763f9000 	C:\WINDOWS\system32\comdlg32.dll
0x77f60000 - 0x77fd6000 	C:\WINDOWS\system32\SHLWAPI.dll
0x77c10000 - 0x77c68000 	C:\WINDOWS\system32\msvcrt.dll
0x7c9c0000 - 0x7d1d7000 	C:\WINDOWS\system32\SHELL32.dll
0x773d0000 - 0x774d3000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x774e0000 - 0x7761d000 	C:\WINDOWS\system32\ole32.dll
0x77120000 - 0x771ab000 	C:\WINDOWS\system32\OLEAUT32.dll
0x71ab0000 - 0x71ac7000 	C:\WINDOWS\system32\ws2_32.dll
0x71aa0000 - 0x71aa8000 	C:\WINDOWS\system32\WS2HELP.dll
0x666f0000 - 0x666fb000 	C:\WINDOWS\system32\inetmib1.dll
0x76d60000 - 0x76d79000 	C:\WINDOWS\system32\iphlpapi.dll
0x71f60000 - 0x71f68000 	C:\WINDOWS\system32\snmpapi.dll
0x71ad0000 - 0x71ad9000 	C:\WINDOWS\system32\WSOCK32.dll
0x76d40000 - 0x76d58000 	C:\WINDOWS\system32\MPRAPI.dll
0x77cc0000 - 0x77cf2000 	C:\WINDOWS\system32\ACTIVEDS.dll
0x76e10000 - 0x76e35000 	C:\WINDOWS\system32\adsldpc.dll
0x5b860000 - 0x5b8b4000 	C:\WINDOWS\system32\NETAPI32.dll
0x76f60000 - 0x76f8c000 	C:\WINDOWS\system32\WLDAP32.dll
0x76b20000 - 0x76b31000 	C:\WINDOWS\system32\ATL.DLL
0x76e80000 - 0x76e8e000 	C:\WINDOWS\system32\rtutils.dll
0x71bf0000 - 0x71c03000 	C:\WINDOWS\system32\SAMLIB.dll
0x77920000 - 0x77a13000 	C:\WINDOWS\system32\SETUPAPI.dll
0x5ad70000 - 0x5ada8000 	C:\WINDOWS\system32\uxtheme.dll
0x755c0000 - 0x755ee000 	C:\WINDOWS\system32\msctfime.ime
0x6d7c0000 - 0x6da10000 	C:\Program Files\Java\jre1.6.0_07\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 	C:\WINDOWS\system32\WINMM.dll
0x7c340000 - 0x7c396000 	C:\Program Files\SageTV\SageTV\MSVCR71.dll
0x6d270000 - 0x6d278000 	C:\Program Files\Java\jre1.6.0_07\bin\hpi.dll
0x76bf0000 - 0x76bfb000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d770000 - 0x6d77c000 	C:\Program Files\Java\jre1.6.0_07\bin\verify.dll
0x6d310000 - 0x6d32f000 	C:\Program Files\Java\jre1.6.0_07\bin\java.dll
0x6d7b0000 - 0x6d7bf000 	C:\Program Files\Java\jre1.6.0_07\bin\zip.dll
0x04430000 - 0x0444a000 	C:\Program Files\SageTV\SageTV\SageTVWin32.dll
0x04450000 - 0x0451f000 	C:\WINDOWS\system32\WININET.dll
0x04520000 - 0x04529000 	C:\WINDOWS\system32\Normaliz.dll
0x04530000 - 0x04575000 	C:\WINDOWS\system32\iertutil.dll
0x047a0000 - 0x047ac000 	C:\Program Files\SageTV\SageTV\Win32ShellHook.dll
0x6d000000 - 0x6d12e000 	C:\Program Files\Java\jre1.6.0_07\bin\awt.dll
0x73000000 - 0x73026000 	C:\WINDOWS\system32\WINSPOOL.DRV
0x6d210000 - 0x6d263000 	C:\Program Files\Java\jre1.6.0_07\bin\fontmanager.dll
0x6d3b0000 - 0x6d3d4000 	C:\Program Files\Java\jre1.6.0_07\bin\jpeg.dll
0x6d150000 - 0x6d17f000 	C:\Program Files\Java\jre1.6.0_07\bin\cmm.dll
0x6d570000 - 0x6d583000 	C:\Program Files\Java\jre1.6.0_07\bin\net.dll
0x6d590000 - 0x6d599000 	C:\Program Files\Java\jre1.6.0_07\bin\nio.dll
0x71a50000 - 0x71a8f000 	C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 	C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 	C:\WINDOWS\System32\winrnr.dll
0x76fc0000 - 0x76fc6000 	C:\WINDOWS\system32\rasadhlp.dll
0x05210000 - 0x0524e000 	C:\Program Files\SageTV\SageTV\DShowPlayer.dll
0x7c3a0000 - 0x7c41b000 	C:\Program Files\SageTV\SageTV\MSVCP71.dll
0x05250000 - 0x05264000 	C:\Program Files\SageTV\SageTV\SageTVInfraredReceive.dll
0x05280000 - 0x05306000 	C:\Program Files\SageTV\SageTV\ImageLoader.dll
0x05f40000 - 0x05f8a000 	C:\Program Files\SageTV\SageTV\DShowCapture.dll
0x05f90000 - 0x05f9c000 	C:\Program Files\SageTV\SageTV\averapi_182.dll
0x76fd0000 - 0x7704f000 	C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 	C:\WINDOWS\system32\COMRes.dll
0x77c00000 - 0x77c08000 	C:\WINDOWS\system32\VERSION.dll
0x75f40000 - 0x75f51000 	C:\WINDOWS\system32\devenum.dll
0x76c30000 - 0x76c5e000 	C:\WINDOWS\system32\WINTRUST.dll
0x77a80000 - 0x77b14000 	C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 	C:\WINDOWS\system32\MSASN1.dll
0x76c90000 - 0x76cb8000 	C:\WINDOWS\system32\IMAGEHLP.dll
0x736b0000 - 0x736b7000 	C:\WINDOWS\system32\msdmo.dll
0x04f00000 - 0x04f2f000 	C:\Program Files\Silicondust\HDHomeRun\hdhomerun_bda_x86.ax
0x78520000 - 0x785c3000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\MSVCR90.dll
0x662b0000 - 0x66308000 	C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 	C:\WINDOWS\System32\wshtcpip.dll
0x5e030000 - 0x5e053000 	C:\WINDOWS\system32\ksproxy.ax
0x73ee0000 - 0x73ee4000 	C:\WINDOWS\system32\ksuser.dll
0x754c0000 - 0x754ca000 	C:\WINDOWS\system32\vidcap.ax
0x04f50000 - 0x04f57000 	C:\WINDOWS\system32\xc2cp.ax
0x58010000 - 0x58029000 	C:\WINDOWS\system32\kswdmcap.ax
0x73dd0000 - 0x73ece000 	C:\WINDOWS\system32\MFC42.DLL
0x58000000 - 0x5800d000 	C:\WINDOWS\system32\ksxbar.ax
0x59ef0000 - 0x59f02000 	C:\WINDOWS\system32\kstvtune.ax
0x5cd80000 - 0x5cd88000 	C:\WINDOWS\system32\encapi.dll
0x04f60000 - 0x04f82000 	C:\WINDOWS\system32\hcwECP.ax
0x757f0000 - 0x75822000 	C:\WINDOWS\system32\qcap.dll
0x75a70000 - 0x75a91000 	C:\WINDOWS\system32\MSVFW32.dll
0x74810000 - 0x7497d000 	C:\WINDOWS\system32\quartz.dll
0x6d180000 - 0x6d1a3000 	C:\Program Files\Java\jre1.6.0_07\bin\dcpr.dll
0x06210000 - 0x062b0000 	C:\Program Files\SageTV\SageTV\SageTVDX93D.dll
0x084c0000 - 0x08666000 	C:\WINDOWS\system32\d3d9.dll
0x062b0000 - 0x062b6000 	C:\WINDOWS\system32\d3d8thk.dll
0x6d340000 - 0x6d346000 	C:\Program Files\Java\jre1.6.0_07\bin\jawt.dll
0x77b40000 - 0x77b62000 	C:\WINDOWS\system32\Apphelp.dll
0x5a190000 - 0x5a2f2000 	C:\WINDOWS\system32\msvidctl.dll
0x57f10000 - 0x57f20000 	C:\WINDOWS\system32\MsDvbNp.ax
0x57fd0000 - 0x57ff7000 	C:\WINDOWS\system32\mpg2splt.ax
0x57ec0000 - 0x57ecb000 	C:\WINDOWS\system32\PsisRndr.ax
0x05160000 - 0x05180000 	C:\WINDOWS\system32\Mpeg2Data.ax
0x05180000 - 0x051bb000 	C:\Program Files\SageTV\Common\TSSplitter.ax
0x0bf90000 - 0x0bfa5000 	C:\Program Files\SageTV\Common\MPEG2Dump.ax
0x5e0f0000 - 0x5e12d000 	C:\PROGRA~1\SageTV\Common\PsisDecd.dll
0x76080000 - 0x760e5000 	C:\WINDOWS\system32\MSVCP60.dll

VM Arguments:
jvm_args: -Djava.library.path=C:\Program Files\SageTV\SageTV\; -Xmx1024m vfprintf -Xms24m -server -verbose:gc -XX:+ForceTimeHighResolution 
java_command: <unknown>
Launcher Type: generic

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\
USERNAME=Default
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 75 Stepping 2, AuthenticAMD



---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 75 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext

Memory: 4k page, physical 2029996k(987632k free), swap 3348268k(1796056k free)

vm_info: Java HotSpot(TM) Client VM (10.0-b23) for windows-x86 JRE (1.6.0_07-b06), built on Jun 10 2008 01:14:11 by "java_re" with MS VC++ 7.1

time: Sun Oct 12 05:44:27 2008
elapsed time: 385257 seconds
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #11  
Old 10-13-2008, 11:09 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
Quote:
Originally Posted by Polypro View Post
I haven't re-booted in a few weeks...my service is at 175MB and the UI is at 330MB. These numbers are fairly constant. 9 tuners, imports, a client...default Sage Java memory allocation.

P
9 tuners! My goodness. How many viewing eyeballs are there in your home?
Reply With Quote
  #12  
Old 10-14-2008, 08:59 AM
vividweb vividweb is offline
Sage Aficionado
 
Join Date: Aug 2006
Location: Calgary AB
Posts: 401
tmiranda

I was getting Java crashes a while ago with out anything really specific causing it. I increased the Java Heap size and my crashes went away. Although when my system gets up to over 600mb of memory I have to restart the server, usually weekly.

Here is a link to some of the Java Heap size discussion
http://forums.sagetv.com/forums/showthread.php?t=23681
__________________

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
Reply With Quote
  #13  
Old 10-14-2008, 09:08 AM
Motofreak75 Motofreak75 is offline
Sage Expert
 
Join Date: Oct 2005
Posts: 578
Send a message via ICQ to Motofreak75
hell the more extenders you have , the bigger the heap size you have to set up I find.

After 2.5 days my sagetvservice.exe is idling around 825 megs with the heap setting at 300 or 799megs, and has been stable with out a reboot for a weak now and heap reports 760/799 for the last few days.

this is with 4 stx's and one MVP/PS and 1 client
__________________
12.04 server Sagetv7
HD-pvr / 2250 /PVR 500 / DVBS w/rotor & 36 inch dish
Reply With Quote
  #14  
Old 10-14-2008, 05:14 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by vividweb View Post
I was getting Java crashes a while ago with out anything really specific causing it. I increased the Java Heap size and my crashes went away. Although when my system gets up to over 600mb of memory I have to restart the server, usually weekly.

Here is a link to some of the Java Heap size discussion
http://forums.sagetv.com/forums/showthread.php?t=23681
I checked that already. I'm at 245MB/413MB/1065MB. I was bumping up against the 512MB limit a while ago so set it to 1GB.

It looks like it is choking on a photo (I use a the photo screensaver) so I think I will start searching for a really big photo....
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Massive memory leak in 6.4.6 Client GTwannabe SageTV Software 1 08-25-2008 09:05 PM
Video Card Info mike_15 Hardware Support 0 01-16-2007 07:22 PM
SageTV client memory leak? hocky98 SageTV Software 18 12-08-2006 01:32 AM
client 4.1.5 not showing livetv after reboot alon24 SageTV Beta Test Software 2 01-24-2006 12:09 AM
Memory leak in Sage 2 Teg SageTV Software 31 12-14-2004 07:57 AM


All times are GMT -6. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.