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

Since the build tools were upgraded to CLM 6.0.1 SCM Tools we have been facing issues with Fetch operation failing with JAVA HEAP Space messages

After the upgrade we have noticed that some of the existing definitions and most of the new definition created are failing on Fetch operation with below message.

2016-04-18 20:32:55 [Jazz build engine] Fetching files to fetch destination "<FETCH_PATH>" ...
com.ibm.team.repository.common.transport.ServiceMethodInvocationError: java.lang.OutOfMemoryError: Java heap space
    at ?

There has been no change in source that is being fetched other than normal updates for new versions of files being updated. Some of the Definitions were copied from already existing definitions, while others were created from scrach.

For some of the new definitions we have updated JVM args with -XX:MaxPermSize=2048m on ANT tab of the build definition and that seems to have resolved it for some. However, there number of other definitions that continue to either fail on Fetch operations or get hung even after updating the JVM property.

Has anyone else seen this behavior? If you have, please share what else you have been able to do to resolve the issue?

Thanks.

0 votes



One answer

Permanent link
Hi, Samir

It doesn't seem to be Ant related OOM but JBE has got it. Therefore, you may want to add/increase heap size for JBE by going to /buildengine/eclipse/jbe.ini and add -Xmx1024m under -Vmargs(if there is a value there, you may increase to higher heap size).(you can restore ant JVM to default and see what happens)
Thanks

0 votes

Comments

Don,

Thanks for the response. I will try your suggestion. However, what I am baffled about is that same change worked for another definition with same message. So the mystery still remains as to why it worked their and not with other.

I am not sure if it is coincident or ant JVM does help in some definitions. The error message does point to JBE related problem.

I have updated both the JVM arg as well as jbe.ini and result still show JAVA HEAP SPACE issue. I am in process of increasing the VMarg to 2048. One more observation noticed is that this seems to be an issue with only new definitions. Already existing definition with same code base seem to work fine without any modifications to the build definitions' JVM arguments or to the jbe.ini.

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
× 76
× 10
× 5
× 3
× 2

Question asked: Apr 21 '16, 5:10 p.m.

Question was seen: 4,234 times

Last updated: Apr 24 '16, 4:20 p.m.

Confirmation Cancel Confirm