JBoss heap size on Windows

Question ID: 104177
4
0

How can I set the heap size for Quality Center / JBoss to 2048 on a Windows 2003 Server?

Marked as spam
Posted by (Questions: 15, Answers: 10)
Asked on August 4, 2010 10:25 pm
37 views
Answers (3)
6
Private answer

HP Software Knowledge Document KM194705

http://support.openview.hp.com/selfsolve/document/KM194705

Marked as spam
Posted by (Questions: 0, Answers: 613)
Answered on August 6, 2010 5:39 pm
1
Private answer

I have actually found that the heap size on Windows cannot be increased to 2GB. This is a limitation of the JVM components in Windows.

http://objectmix.com/java/158521-maximum-heap-size-windows-2003-a.html

Marked as spam
Posted by (Questions: 15, Answers: 10)
Answered on August 9, 2010 5:12 pm
1
Private answer

There is an easier way to increase the Jboss Heap size than what is listed in the http://support.openview.hp.com/selfsolve/document/KM194705 Document. The same rules still apply.

- Neither value can be more than your max RAM size
- Neither value can be more than supported by your Operating System
- Do Not set the jboss heap size large enough to overrun system reserved memory please consult a sysadmin to decide on the Max Heap size

----------
On Windows Server Go to Start->Run

Type 'Regedit'

Hit Enter

Navigate to the follow location

`My ComputerHKEY_LOCAL_MACHINESYSTEMControlSet002ServicesHP Quality CenterParameters`

Alter the registry keys listed below with min and max heap sizes respectively

Min Heap Size - JVM Option Number 1 = -Xms128m

Max Heap Size - JVM Option Number 2 = -Xmx1024m

Marked as spam
Posted by (Questions: 1, Answers: 69)
Answered on August 20, 2012 10:25 am