Archives / 2010 / May
  • Resharper 4.5 OutOfMemoryException (and a fix!)

    So I'm working in a solution Visual Studio 2008 with Resharper 4.5.2 and, when including some large XML files (60M, don't ask, they have to be there) in the solution and restarting Visual Studio, Resharper started throwing an OutOfMemoryException when first loading, and then showing all kinds of errors in my solution which I know are not real errors. It ends up that there's an issue with heap fragmentation and memory allocation with Visual Studio and Jetbrains released a small "wrapper" application which appears, at least in my case and several others, to resolve the OutOfMemoryException. I found this nugget of information at CodeClimber's Blog, and the link to the actual wrappers is at: Happy Coding!