I have a build that that has been green for weeks. Today, I see this text in the log:
Failed to execute plugin 'Artifact Copier' with error: Java heap space
All artifacts are set to "required". This build still went green and is now causing havoc on other plans that depend on these artifacts.
I am playing around with Xms and Xmx properties in setenv.sh. However, this behavior should be marked as a Bamboo bug.