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