Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NCrunch and %TEMP%.
GreenMoose
#1 Posted : Wednesday, December 7, 2016 3:41:35 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 507

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
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?
Remco
#2 Posted : Wednesday, December 7, 2016 10:51:46 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.020 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download