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

Notification

Icon
Error

There is not enough space on the disk
rlarno
#1 Posted : Wednesday, October 19, 2011 4:05:45 PM(UTC)
Rank: Member

Groups: Registered
Joined: 9/27/2011(UTC)
Posts: 27
Location: Belgium

Thanks: 6 times
Was thanked: 5 time(s) in 5 post(s)
Hi Remco,

I have set up a RamDisk (2GB) and NCrunch filled it with builds. It then complains that there is not enough space on the disk. (I also sent a bug report about it).

Can you detect that you are running on a low capacity - high speed disk (<20GB, xMB/s) and assume it is a RamDrive. Then detect that there would be not enough space to run a build (given that you did at least one before). And clean up enough old builds to make sure you have enough space for the current run. This would allow NCrunch to run forever using the RamDrive, at the speed of light...

Thanks,
Rudi
Remco
#2 Posted : Thursday, October 20, 2011 6:33:22 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi Rudi -

This is a good suggestion. Restricting the engine from building new workspaces when it needs them will reduce efficiency, but right now there isn't really any decent handling of situations where the drive runs out of space. The workspacing code was introduced before the discovery of using RAMdrives for workspaces, so it may need a little work here :) I've put it on the list of things to address in a future build.

Something you can try to reduce the workspace capacity needs is to reduce your MaxNumberOfProcessingThreads, as having a high number in this setting will result in the engine trying to build more workspaces to enabler greater concurrency. I'd be interested to hear if this makes any difference.


Cheers,

Remco
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.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download