History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CCNET-1659
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Craig Sutherland
Reporter: C. Müller
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
CruiseControl .NET

Crash when log file is big

Created: 31/Jul/09 03:59 AM   Updated: 25/Jul/10 12:49 PM
Component/s: Builder
Affects Version/s: 1.4.4
Fix Version/s: 1.5.0 CTP

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
When starting the server it prints out version 1.4.4.83.
WindowsXP with 1GB Ram and only CC.NET running.
Issue Links:
Relationship
This issue Relates to:
CCNET-819 System.OutOfMemoryException happens w... Major Open
CCNET-955 buildLogBuildPlugin: System.OutOfMemo... Major Closed
 


 Description  « Hide
When running cruise control.net I always got the following exception
when doing a specific build:

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.StringUtil.MakeBuildResult(String
input, String msgLevel) at
ThoughtWorks.CruiseControl.Core.Tasks.ExecutableTask.Run
(IIntegrationResult result) at
ThoughtWorks.CruiseControl.Core.Project.RunTasks(IIntegrationResult
result, IList tasksToRun) at
ThoughtWorks.CruiseControl.Core.Project.Run(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build
(IIntegrationResult result) at
ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate
(IntegrationRequest request)

This is most probably because the build report/log file is too big.
Well, i cannot shrink the log output or increase the memory in the
moment. The cc.log file is about 10MB, the memory 1GB.


 All   Comments   Work Log   Change History      Sort Order:
Craig Sutherland [15/Sep/09 07:33 PM]
I have made a few minor modifications to the way CC.NET handles strings and loads results. Hopefully this will reduce the memory load from CC.NET.