OOM Error running Ant script

I have attached the log showing the error that I receive whem my project is running the build.  I have searched the discussion for possible solutions and I have tried to add the -XX:+HeapDumpOnOutOfMemoryError option to the tomcat6w.exe, teamcity-server.bat, wrapper.conf and I still do not get a .hprof file anywhere.  Please take a look at the log and let me know if anyone can help determine why this is happening.

I am running this on my laptop with 2G RAM.  The VCS I am using is Starteam.  Java 1.6.0, Ant 1.7.1, Flex 3.0.0



Attachment(s):
teamcity.log.zip
2 comments
Comment actions Permalink

The error seems to occur inside flex2 compiler. If flex2 compiler is running in the same JVM as the Ant build script you can try to increase memory available to Ant by specifying corresponding -Xmx argument in the build runner settings.

0
Comment actions Permalink

Thanks!  That worked.  We added -Xmx384m to the Ant paramater in the Build Runner and the build ran successfully.

0

Please sign in to leave a comment.