
|
If you were logged in you would be able to see more operations.
|
|
|
|
|
| Component/s: |
Task
|
| Affects Version/s: |
1.1
|
| Fix Version/s: |
None
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Environment:
|
Windows Server 2003, 2GB RAM; .Net 1.1, .Net 2.0 installed.
|
|
Issue Links:
|
Relationship
|
|
|
|
This issue Relates to:
|
|
CCNET-1659
Crash when log file is big
|
|
|
 |
CCNET-955
buildLogBuildPlugin: System.OutOfMemo...
|
|
|
|
CCNET-1785
Out of memory exception on viewing bu...
|
|
|
|
|
|
|
File Merge task failed to merge back large (~300 mb) xml output from MSTest.exe. Bellow is log excerpt:
Publisher threw exception: ThoughtWorks.CruiseControl.Core.CruiseControlException: Unable to read the contents of the file: d:\CCNet\WSB-4.0-AcceptanceTest\working\testresult.xml ---> 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.GetNewString(String currentString, Int32 requiredLength)
at System.Text.StringBuilder.Append(Char[] value, Int32 startIndex, Int32 charCount)
at System.IO.StreamReader.ReadToEnd()
at ThoughtWorks.CruiseControl.Core.Tasks.FileTaskResult.ReadFileContents(FileInfo file)
--- End of inner exception stack trace ---
at ThoughtWorks.CruiseControl.Core.Tasks.FileTaskResult.ReadFileContents(FileInfo file)
at ThoughtWorks.CruiseControl.Core.Tasks.MergeFilesTask.Run(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.Project.PublishResults(IIntegrationResult result)
|
|
Description
|
File Merge task failed to merge back large (~300 mb) xml output from MSTest.exe. Bellow is log excerpt:
Publisher threw exception: ThoughtWorks.CruiseControl.Core.CruiseControlException: Unable to read the contents of the file: d:\CCNet\WSB-4.0-AcceptanceTest\working\testresult.xml ---> 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.GetNewString(String currentString, Int32 requiredLength)
at System.Text.StringBuilder.Append(Char[] value, Int32 startIndex, Int32 charCount)
at System.IO.StreamReader.ReadToEnd()
at ThoughtWorks.CruiseControl.Core.Tasks.FileTaskResult.ReadFileContents(FileInfo file)
--- End of inner exception stack trace ---
at ThoughtWorks.CruiseControl.Core.Tasks.FileTaskResult.ReadFileContents(FileInfo file)
at ThoughtWorks.CruiseControl.Core.Tasks.MergeFilesTask.Run(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.Project.PublishResults(IIntegrationResult result) |
Show » |
|
This was the error left on the ccnet console app:
2007-02-25 12:13:23,020 [V1.5:DEBUG] Exception: System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: Files, file, string, string, string, string, string, string, string. Line 2113, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReaderImpl.Read()
at System.Xml.XmlValidatingReader.Read()
at System.Xml.XmlWriter.WriteNode(XmlReader reader, Boolean defattr)
at ThoughtWorks.CruiseControl.Core.Util.XmlFragmentWriter.WriteNodeBase(XmlReader reader, Boolean defattr)
at ThoughtWorks.CruiseControl.Core.Util.XmlFragmentWriter.WriteNode(XmlReader reader, Boolean defattr)
at ThoughtWorks.CruiseControl.Core.Util.XmlFragmentWriter.WriteNode(String xml)
And the error waiting for me on the dashboard was this:
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.GetNewString(String currentString, Int32 requiredLength) at System.Text.StringBuilder.Append(String value) at ThoughtWorks.CruiseControl.Core.Util.HtmlAwareMultiTransformer.Transform(String input, String[] transformerFileNames, Hashtable xsltArgs) at ThoughtWorks.CruiseControl.WebDashboard.Dashboard.PathMappingMultiTransformer.Transform(String input, String[] transformerFileNames, Hashtable xsltArgs) at ThoughtWorks.CruiseControl.WebDashboard.Dashboard.BuildRequestTransformer.Transform(IBuildSpecifier buildSpecifier, String[] transformerFileNames, Hashtable xsltArgs) at ThoughtWorks.CruiseControl.WebDashboard.Dashboard.Actions.XslReportBuildAction.Execute(ICruiseRequest cruiseRequest) at ThoughtWorks.CruiseControl.WebDashboard.MVC.Cruise.ServerCheckingProxyAction.Execute(ICruiseRequest cruiseRequest) at ThoughtWorks.CruiseControl.WebDashboard.MVC.Cruise.BuildCheckingProxyAction.Execute(ICruiseRequest cruiseRequest) at ThoughtWorks.CruiseControl.WebDashboard.MVC.Cruise.ProjectCheckingProxyAction.Execute(ICruiseRequest cruiseRequest) at ThoughtWorks.CruiseControl.WebDashboard.MVC.Cruise.CruiseActionProxyAction.Execute(IRequest request) at ThoughtWorks.CruiseControl.WebDashboard.MVC.Cruise.CachingActionProxy.Execute(IRequest request) at ThoughtWorks.CruiseControl.WebDashboard.MVC.Cruise.ExceptionCatchingActionProxy.Execute(IRequest request)