scheduled builds get out of memory (java heap space)
For our scheduled builds, we have been encountering out of memory errors. I have specified -Xmx values in the build definition but it still fails. I have tried running the build at different times in case something else is happening on the build machine. It always fails during the same step.
But, if I submit a build (instead of a scheduled build), it always works. It does not get the out of memory error. This is on the same machine without even restarting the jbe right after it scheduled build failed.
I am running RTC 1011. The build machine is on Windows.
But, if I submit a build (instead of a scheduled build), it always works. It does not get the out of memory error. This is on the same machine without even restarting the jbe right after it scheduled build failed.
I am running RTC 1011. The build machine is on Windows.
One answer
We had a similar problem on AIX. Setting:
export ANT_OPTS=-Xmx1024m
Prior to running ANT seemed to fix it.
Brian
export ANT_OPTS=-Xmx1024m
Prior to running ANT seemed to fix it.
Brian