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

Running out of heap space when loading workspaces

After a reinstall of the 5.02 eclipse client I am now unable to load workspaces of any size beyond a few dozen files in the eclipse client, getting out of memory errors reported as shown below.

An internal error occurred during: "Loading repository items".
java.lang.OutOfMemoryError: Java heap space

I have already tried setting the max heap in eclipse.ini, scm.ini and scm.sh but this has not helped (-Xmx4096m). Strangely dumps produced on failure are only 1.1Gb whihc would seem to indicate that the settings are not taking effect.

Running on linux if it makes any difference. HAve also tried updating to interim fix 11, still no joy.


0 votes



One answer

Permanent link
Ive figured this out, the problem is that I was using "lock to launcher" in unity so I could easily launch eclipse, when you do this ubuntu creates a .desktop file in  ~/.local/share/applications/rational_team_concert.desktop which include -Xmx512m overriding the eclipse.ini.

The clue was that the javacores listed Xmx as being set to 512mb and this got me looking at starting the program in diffeent ways using the heap indicator built into eclipse to check the results.

1 vote

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

Question asked: Mar 04 '16, 9:51 a.m.

Question was seen: 5,199 times

Last updated: Mar 04 '16, 11:18 a.m.

Confirmation Cancel Confirm