Hi,

Hoping someone has a workaround for this issue I am having with
cc.netversion 1.5.7256.1. There is an issue logged already which can
be found
here:

http://jira.public.thoughtworks.org/browse/CCNET-1909

It seems to be caused by one of the inner build tasks that is part of our
build process. This task recursively copies 1000's of file from one location
to another. Think ccnet is trying to write the log for this in one piece,
i.e. "Copying c:\a\b\c\d\a.txt to D:\a\b\c\d\a.txt" times a 1000+ seems to
cause the following error in the event logs:

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
was thrown.
   at System.String.GetStringForStringBuilder(String value, Int32
startIndex, Int32 length, Int32 capacity)
   at System.Text.StringBuilder.Append(String value)
   at System.Text.StringBuilder.AppendLine(String value)
   at
ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor.RunnableProcess.CollectOutput(String
output, StringBuilder collector, EventWaitHandle streamReadComplete, String
streamLabel)
   at
ThoughtWorks.CruiseControl.Core.Util.ProcessExecutor.RunnableProcess.StandardOutputHandler(Object
sender, DataReceivedEventArgs outLine)

then this error:

2010-09-02 01:02:32,136 [255] ERROR CruiseControl.NET [(null)] - [ProjectA
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe] Exception while
collecting standard output

I'm taking a look at the task that is copying the files to see if I can
change the verbosity or seperate the copy into chunks of files, but it
appears to recursively analyze the files in subfolders, so would prefer to
avoid that.

any suggestions welcome!

Mike

Reply via email to