Guardian’s Home

.NET, Software Developing, Mammoths and Various Life Things…

Resharper and the OutOfMemoryException problem

with 2 comments

After having tried (and still using CodeRush Xpress), it’s now time for me to give an eye at Resharper too.

To be honest I really like some of its capabilities, but I’m used to get a lot of OutOfMemoryException from it which have a very bad impact on the usability of the product: it tends to hang up the whole Visual Studio environment; so you have to kill the whole environment and load again a fresh copy in memory (which takes time with very large solutions).

A fix to this problem is to use a wrapper/bootstrapper provided by Jetbrains (http://www.jetbrains.net/confluence/display/ReSharper/OutOfMemoryException+Fix).

Using this small bootstrapper Visual Studio seems to be more stable and reactive when Resharper is enabled.



kick it on DotNetKicks.com

Written by Guardian

December 23rd, 2008 at 7:57 am

Posted in Tips, Visual Studio

2 Responses to 'Resharper and the OutOfMemoryException problem'

Subscribe to comments with RSS or TrackBack to 'Resharper and the OutOfMemoryException problem'.

  1. [...] This usually makes memory usage smaller. For solution with big web sites sometimes even a GarbageCollection does not reduce memory usage. Opening another solution in the same instance of visual studio will increase the memory used by resharper until you can even hit an OutOfMemoryException. In this situation close the entire visual studio or try this solution posted by guardian. [...]

  2. [...] had stability problems (mitigated by a wrapper used to launch Visual Studio, see my previous post: Resharper and the OutOfMemoryException) and it tended to slow down the whole IDE when you were working on medium to large projects [...]

Leave a Reply