ALM Server Muted – Java Heap Space?

Question ID: 105010
0
0

We are getting this error on our QC/ALM server.
IT goes away after a cycle of the services/reboot.
What is causing the JAVA memory to do this?

Server on ‘ALMServer’ has entered an unstable state, please contact your site administrator.

status=MUTED, label=QC server is muted due to unrecoverable error, reason=Java heap space,
StackTrace=
java.lang.OutOfMemoryError: Java heap space.

Marked as spam
Posted by (Questions: 74, Answers: 4)
Asked on May 13, 2013 2:33 pm
28 views
Answers (1)
0
Private answer

Bill,

It is possible to increase the Java Heap - I hope this is on a 64-bit server since you can go much higher (if needed) and not worry about using too much (stepping on other applications).

Look here for how to increase it, but I recommend the HP article's way of doing it (see thread).

http://eyeontesting.com/questions/1182/jboss-heap-size-on-windows.html

But lets look into why that JAVA memory is being used up. Yes, it might be set too small, but how many **active** projects do you have? Are they really active, or do you just **not use** them?

Marked as spam
Posted by (Questions: 3, Answers: 466)
Answered on May 13, 2013 2:39 pm
We have over 100 ''activated'' projects in our server, and on investigation, we really only use less than 30. I thought that if nobody was using them, that they were kind of ''dormant''.
( at May 13, 2013 2:41 pm)
No, there is still activity, and having so many ''active'' projects is actually the root of your problem. Instead of just not using them, you might want to DE-ACTIVATE them. You can always make them active again if someone needs them. Each project is taking up server resources AND JAVA Heap.
( at May 13, 2013 2:44 pm)
Thanks, I did not realize that. We will start de-activating the older, unused projects and look into increasing the HEAP as well. We have a 64-bit server and currently our HEAP is set to 1.5Gb, we have plenty of RAM (24 Gb) so, we will try doubling it when we have a maintenance window. Thanks again.
( at May 13, 2013 2:47 pm)