|
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
|
|||
|
|||
Increasing Java Heap on Windows 7 when using local admin
First let me start by saying I am new to sagetv.
I have owned it about a month and currently I am running sagetv 7 with a 300 extender. The software is on my desktop machine which is not a dedicated media computer instead it’s the family PC. The OS is windows 7. My problem is I have followed the tips that I found in the forums on how to make a registry entry to increase Heap size but when I am logged in under myself (local admin) and from my understanding how you are suppose to run in Windows 7 I don’t see the increase in heap size.(looking in system info from sage) If I make the admin account accessible and log into that user and run sage from there I see the increased heap size in the program. Again this is my family PC so I don’t want to run under full admin but I need to know how to make sage running under the local admin account see the registry entry and jump the size up. I have tried multi reboots but not sure what else to try except uninstalling Sage and reinstalling. Thanks for any advice you might be able to give me. |
#2
|
||||
|
||||
Are you running sage as a client or as the service with the client also running?
I would recommend running it as a service and then start the client anytime you want to use the GUI interface. To adjust the Maximum Java Heap Size there is a registry key that you change and there was an application posted here a while back that had most of the registry tweaks built in. Do a search and you should be able to find it. Other than that the Java Heap Size grows as needed if it's staying pretty low it probably means that you are not needing that much resources. (Java doesn't give the ram back once it has been allocated)
__________________
Google?? Facebook?? MySpace??
-=[If you don't pay for the product, chances are you are the product]=- |
#3
|
||||
|
||||
I was running into the same problem and found a solution by searching through the entire registry.
If you are on a 64 bit machine, look here: [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Frey Technologies\SageTV] The key you are looking for is called 'JVMMaxHeapSizeMB'. I've set mine to 400 hex (1024 MB), since I have plenty :-)
__________________
SageTV 7.1.9 WinXP-32, Headless, 3xUSB HD Tuners, 4GB RAM, 6TB storage, Intel X25 disc for OS and SageTV Media Extenders: 4 x HD200, 1 x HD300 |
#4
|
|||
|
|||
Thanks for the replies. I was able to run it as a service and this fixed my issue. Thanks again.
|
#5
|
|||
|
|||
Quote:
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7) Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls |
#6
|
||||
|
||||
just curious, I am running Win 7 x64, I have 8GB of ecc ram (why not? ram is cheap and overkill is wonderful) what is the max you can set the java heap too?
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice... |
#7
|
||||
|
||||
1.5 GB. java is 32bit. And you need that much contiguous memory free to be able to use it all.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#8
|
||||
|
||||
is it really a full 1.5GB? or is it like 1.49998 or something?
continuous shouldn't be a problem, CQC maybe uses a couple K, Sage itself probably doesn't use all that much either...
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice... |
#9
|
||||
|
||||
Quote:
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#10
|
|||
|
|||
On my 64bit machine I noticed that I can only run 1GB and still have the client load. The service will work with 1.5GB but the local client will not.
Is this normal?
__________________
Server: Sage 9; 8TB, i5 4690k 16GB DDR3 2XHDHR3, Windows 10 PRO 64BIT Client 1: HD300; Panasonic TC-P65S64; Client 2: HD300; Samsung 46" LCD; Client 3: HD300; 60" LCD; |
#11
|
|||
|
|||
It all depends how windows carves your memory up, what else is running and has grabbed memory. If you have SMM or anything else using SQL Express that's upto another 1Gb of memory in use.
Windows has a habit of grabbing bits in the middle and basically splitting your 8Gb in half. Finding a decent sized contiguous window in that becomes harder, although if your machine is lean and only running sage you might manage to squeeze 2G out of it. But probably no more. It can be done, but usually isn't worth the effort to get a 2G JVM on a windows box. "java -Xms1.5G -version" using the 32 bit java (from program files X86) and varying the value of 1.5 (how much to allocate initially) will tell you the largest contiguous space currently available. It'll error when you ask for too much. You can also specify the value in M if you prefer. Last edited by Nelbert; 01-31-2011 at 06:34 PM. |
#12
|
|||
|
|||
Sorry for resurrecting this thread - but Im playing with Colossus on a spare machine and found it running like a slug - even though its more powerful my current sage server - so I had a quick look at system info - and noticed my JVM max size was 389 MB - despite having the reg setting set to give me 1048.
Im running Win 7 64 bit on both machines - here's the JVM size in Sage And the registry setting :- Anyone know why sage is not seeing the setting ? Cheers Mark
__________________
Luckily Computers Repair Themselves Last edited by parkimar; 03-12-2011 at 05:58 PM. |
#13
|
|||
|
|||
Has anyone else encountered this issue ?
Cheers Mark
__________________
Luckily Computers Repair Themselves |
#14
|
|||
|
|||
Quote:
I not sure why but I had to set my service to use my User Account, to get my HD300 to set the service, thus when I edited my JVM heap size (on Win7 64bit), and restarted the service, it was using the new setting. |
#15
|
|||
|
|||
On 64-bit it's easier to run \windows\syswow64\regedit.exe to find the correct registry locations for 32-bit programs.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#16
|
|||
|
|||
Thx Taddeusz, I tried that - but it showed as still having the same value (400 Hex) in the registry, but only 389 in Sage.
Is it worth a reinstall ? Cheers Mark
__________________
Luckily Computers Repair Themselves |
#17
|
|||
|
|||
I'm having the same issue in Win7 32 bit. Set it to 756 using the utility in the download section by Babgvant, but in Sage it still shows as 389. I know the utility worked with my XP server. Is there some reason it doesn't work in Win7?
__________________
Dave S Windows 10, Sagetv 9.2.1 64b, OpendDCT 0.5.29, 8gb ram, HDHR Prime, 3 HD300 |
#18
|
|||
|
|||
Ok, I've done some testing. I have SageTV Client on my Windows 7 x64 system. I've confirmed that the JVMMaxHeapSizeMB value has no effect. However, when you run SageTV as an administrator (I refuse to turn UAC off) it increases its Java heap size as it's supposed to.
I'm running the beta so I've filed a beta bug report. I suggest everyone who has noticed this problem do the same.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#19
|
|||
|
|||
Quote:
see here for instructions on where to set it when UAC is enabled...
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#20
|
||||
|
||||
If you run the utility from babgvant then right click on the utility and choose "Run as Administrator".
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
Tags |
java heap size, service mode |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Java Heap Size | rickgillyon | SageTV Beta Test Software | 48 | 12-14-2011 04:47 AM |
Java Heap Size | craigap | SageTV Media Extender | 21 | 03-27-2010 10:53 AM |
HD-PVR and java heap | dead_ferrets | Hardware Support | 11 | 12-10-2009 09:54 AM |
Java Heap help | gibsonpa | SageTV Software | 3 | 08-06-2008 03:11 PM |
Java Heap in vista | hellsingfan | SageTV Software | 3 | 06-29-2008 06:57 PM |