Is there a way to limit the memory usage of NCrunch.exe ? I guess NCrunch.exe itself is not anything that can be tweaked via configuration settings?
BakgroundA build agent with 8GB RAM seems to be insufficient since building NCrunch on that agent, with weird delays in loading times like below, and also fails db tests with timeouts of 1 minute (not failing on 10GB machine).
Code:
10GB agent:
[11:44:54] : [Step 5/7] [InitialisationQueueTask-17] Loading project: X:\Infrastructure\XXX.Infrastructure.csproj
[11:44:54] : [Step 5/7] [InitialisationQueueTask-16] Loading project: X:\Domain\XXX.Domain.ModelFactories\XXX.Domain.ModelFactories.csproj
[11:44:54] : [Step 5/7] [InitialisationQueueTask-19] Loading project: X:\Presentation\XXX.Web\XXX.Web.csproj
[11:45:15] : [Step 5/7] [InitialisationQueueTask-11] Loading project: X:\Tests\NUnitTests\NUnitTests.csproj
8GB agent:
[12:24:38] : [Step 5/7] [InitialisationQueueTask-18] Loading project: X:\Presentation\XXX.Web\XXX.Web.csproj
[12:24:38] : [Step 5/7] [InitialisationQueueTask-16] Loading project: X:\Infrastructure\XXX.Infrastructure.csproj
[12:24:38] : [Step 5/7] [InitialisationQueueTask-15] Loading project: X:\Domain\XXX.Domain.ModelFactories\XXX.Domain.ModelFactories.csproj
[12:26:16] : [Step 5/7] [InitialisationQueueTask-12] Loading project: X:\Tests\NUnitTests\NUnitTests.csproj
(10GB on another agent seems to work better)
Thanks.