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

JBE Heap Space Issues

I am having problems with heap space in the JBE when i attempt to run a build for a component where a rather large number of files need to be fetched from the repository. I see the following (abbreviated) sequence when the build begins..

2010-02-12 08:53:15 Yes: Always build a user initiated request.
2010-02-12 08:53:15 Invoking pre-build participant "com.ibm.team.build.jazzscm"
Fetching files to fetch destination " .... " ...
com.ibm.team.repository.common.TeamRepositoryException: Java heap space
at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy$2.run(ScmServiceInterfaceProxy.java:174)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1169)
..
..
at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:365)
at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:193)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:628)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:466)
at java.lang.Thread.run(Thread.java:619)

The problem occurs a few tens of seconds after the build starts, and no files seem to have been transferred to the build host.

The same JBE will quite happily run a build of a different component with a smaller number of files, so i am guessing here the problem relates to the number of files.

I could not find any obvious configuration parameter that would possibly resolve this. Any suggestions ?

0 votes



One answer

Permanent link
On 2/12/2010 4:38 PM, harveyharrison wrote:
I am having problems with heap space in the JBE when i attempt to run
a build for a component where a rather large number of files need to
be fetched from the repository. I see the following (abbreviated)
sequence when the build begins..

2010-02-12 08:53:15 Yes: Always build a user
initiated request.
2010-02-12 08:53:15 Invoking pre-build participant
"com.ibm.team.build.jazzscm"
Fetching files to fetch destination " .... " ...
com.ibm.team.repository.common.TeamRepositoryException: Java heap
space
at
com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy$2.run(ScmServiceInterfaceProxy.java:174)
at
com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1169)
.
.
at
com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:365)
at
com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:193)
at
com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:628)
at
com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:466)
at java.lang.Thread.run(Thread.java:619)

The problem occurs a few tens of seconds after the build starts, and
no files seem to have been transferred to the build host.

The same JBE will quite happily run a build of a different component
with a smaller number of files, so i am guessing here the problem
relates to the number of files.

I could not find any obvious configuration parameter that would
possibly resolve this. Any suggestions ?


Just wondering here... but, can you try to increase the maximum Heap
Memory used by JBE JVM? Try adding -Xmx1024m (or the number you choose
than can be managed by your architecture - 32 or 64 bits) to:

D:\%JBE_HOME%\buildsystem\buildengine\eclipse\jbe.ini

Hope it helps,

Chemi.

0 votes

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: Feb 12 '10, 10:32 a.m.

Question was seen: 4,898 times

Last updated: Feb 12 '10, 10:32 a.m.

Confirmation Cancel Confirm