Daily Usage Issues

NCrunch and %TEMP%.

Started by GreenMoose on 5,023 views

v2.26.

I noticed NCrunch (the vstudio2015 version) is using the temp dir location alot. To ensure that isn't a bottle neck I (in addition to workspace drive) have placed that on a RamDisk but it is quickly filling up with non-Crunch stuff.

Is it possible someway to define where NCrunch is putting temporary files? Or is this a built in behavior by e.g. the compiler?
Hi,

This is interesting. NCrunch itself makes minimal (perhaps no?) use of the temp directory directly. I expect that you're probably seeing temporary files being created by either build tasks (i.e. compiler), the code under test, or the CLR itself.

You may need to take a closer look at the files to try and determine what they are and what is producing them. I'm also interested in knowing this, as this problem may be widespread.

NCrunch has a configuration setting that lets you set environment variables inside the build/test tasks. You may be able to use this to override the %temp% variable without affecting other software running on your system.

Post a reply

Log in to reply.