Speedup Visual Studio with RAMDIsk
In previous post I showed how using a RAMDisk does not offer speed gain when you have fast disk subsystem, but RAMDisk can still comes to an help to speedup visual studio.
Visual Studio uses windows TEMP directory during normal usage, so you can encounter some advantage if you move your temporary files on a RAM disk, as well as asp.net temporary folder. First of all create a Virtual RAMDisk of small size (you can use even 256 MB of memory) then if you have asp.net applications be sure that they use the ramdisk as temporary store.
|
|
But even with this optimization Visual Studio still uses standard windows TEMP folder to store temporary files, to make VS uses RAM disk as temp storage you can create a simple.bat file with these instructions.
|
|
When you set environment variables in a bat file, they are used until the bat ends, in this way you can launch visual studio while pointing temporary directory to RAMDisk. Be sure to exclude the RAMDisk from Antivirus check (because it will slow a little bit even if files are in memory). Thanks to this setting you can gain minor performance improvement :)
If you use resharper, goes to options and tell resharper to use windows TEMP directory to store internal data, in this way even resharper files will goes to RAMDisk, and you gain another little bit.
Alk.
Tags: Visual Studio