MatthewSteeples;7804 wrote:From what I've seen on the internet it looks like you may have had a pre-release version of 2015 installed? We don't see this behaviour, and the VBCSCompiler only spawns once and levels out at about 1gb of memory usage. It's there as a performance aid (as the compiler is now managed, it reduces the overhead of it restarting).
See if
this StackOverflow question has any answers for you
Late reply but no it isn't a pre-release version (same version as in your SO link, i.e. 1.0.0.50618).
This seems to be related to the fact I'm using a local grid node.
* When I compile solution with msbuild.exe (v14.0) as MsBuild /p:"Configuration=Debug" /p:"Platform=Any CPU" /verbosity:n /t:"Build" "Solution.sln" the VBCSCompiler.exe don't even start, and building the solution when all projects are "up to date" are tedious.
* When I compile in visual studio (NCrunch - v2.18.0.3 - disabled) it behaves nicely (CPU stops after compile) with 5 instances of a total of 1.6GB and the build completes instantly when all projects are "up to date" (vs using msbuild.exe explicitly).
* When I compile in vstudio (NCrunch enabled, local grid node disconnected) it also behaves nicely.
* When enabling the local grid node (running in its own Grid node user account) interesting stuff starts to happen:
1. It spawns VBSCompiler instances in the grid node's user name.
2. It spawns VBSCompiler instances in my user name, in some weird "loop-like" way, shortly after anbling grid node I'm up to 32 instances of VBCSCompiler consuming a total of 7GB (and constantly increasing).
The grid node seems to never complete the "Build assembly task".
So I tried to run the local grid node under "Local System" account, and the issue went away. Re-setting custom user for the grid node and the issue came back (totally choking the computer so it starts to "system beep").
So, then the question is is it a bug NCrunch behaves like this under a custom user or is it because I need to set some permissions on compiler/whatever for the particular user?
Thanks.
*Edit: It does not even work with Local Service account, it must apparently be Local System :(