Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

I get a Java Heap space error when updating changes

(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

0 votes


Accepted answer

Permanent link
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

2 votes

Comments

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

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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 89
× 1

Question asked: May 22 '15, 8:06 a.m.

Question was seen: 6,747 times

Last updated: May 26 '15, 8:16 a.m.

Confirmation Cancel Confirm