It's all about the answers!

Ask a question

I get a Java Heap space error when updating changes


Eddie Breeveld (6112530) | asked May 22 '15, 8:06 a.m.
(Can't upload an image showing the problem because I don't have enough reputation.  What a waste of time).

We are getting "Problem occurred" errors when changing flow targets.  The dialog says (which I have to type out manually):
'Updating changes' has encountered a problem.  
An internal error occurred during: "Updating changes".

An Internal error occurred during: "Updating changes".
java.lang.OutOfMemoryError: Java heap space
What settings do we need to overcome this problem.  We are running 64-bit laptops with 16GB memory installed.

Client: RTC 4.0.7.  Windows 7.  Server: 4.0.7

Accepted answer


permanent link
Kevin Ramer (4.5k8184200) | answered May 22 '15, 9:48 a.m.
Try adding:

-Xmx2048m [ or larger ]

into the eclipse.ini  This will be in this relative path:  jazz/client/eclipse/eclipse.ini ( or jazz\client\eclipse\eclipse.ini if you need that translation )  The beginning of the path depends on how the RTC client was installed.

Eddie Breeveld selected this answer as the correct answer

Comments
Eddie Breeveld commented May 26 '15, 5:02 a.m.

Very helpful.  Thank you Kevin.  We set it to -Xmx4g, even though the maximum we have seen used is about 1200m.


Kevin Ramer commented May 26 '15, 8:16 a.m.

Nice !
I have my 1st example ( 2g ) in my Eclipse Luna + RTC 5.0.2 and don't run into out-of-memory.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.