Out of memory error - Java

We just upgraded from 7.0.3 to 7.1.2 and are now getting the following error:

[16:23:13]Patch is broken, can be found in file: C:\BuildAgent\temp\globalTmp\temp4980954504928958756patch_2842

[16:23:13]Failed to build patch for build #1.0.476 {build id=2842}, VCS root: http://xxxx@github.com/xxxx/xxx.git#develop {instance id=17, parent id=5}, due to error: java.lang.OutOfMemoryError: Java heap space jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Server was not able to build correct patch, most likely due to VCS errors

I've tested the VCS connection and it connects no problem.  There have been no changes to the build configuration, just the upgrade to TeamCity.  Any ideas?  Thanks!
1 comment
Comment actions Permalink


The OutOfMemory error occurs on the server side (you can check server's teamcity-server.log and teamcity-vcs.log for the errors).

Most probably your server memory settings have been reset to default after upgrade and you need to increase them. Do you know if they were customized in the previous server instalaltion?


Please sign in to leave a comment.