Visual Studio 2008
Windows XP SP3
Microsoft Visual Source Safe
Intel Core2Duo (E8400) with 3 GHZ
3,5 GB RAM
I'm working on a VB solution. After spending some time to design a form i edited a class file. In this file i added a new member variable and some initialization code for this variable. Then i created a new method via Copy / Paste and overwriting the method name. Next i changed the code of the copied method. I used R#'s rename refactoring to rename a parameter of the method and then i tried to change some other variable names. Suddenly the IDE was inresponsive and after a while a bunch of OutOfMemoryExceptions where thrown. I could not edit the text in the exception reporter because the window suddenly disappears and another exception reporter window was shown. I took a look at VS memory via process Explorer. I've seen 1,5 GB virtual size, 1 GB Working Set Size, 600 MB Heap Bytes and 30% Garbage Collector activity.
The solution i'm working on was migrated from VB6 to .NET. The code base is around ten years old. There is much procedural code, much duplicate code. Many of the code files have more than 5.000 lines of code and there are many many endless methods with some hundreds lines of code with deeply nested if .. else and for loops. Overall it has around 250.000 lines of code. (Please note that i only have to maintain the code. In my opinion the lifecycle of the application has ended and my customer should reimplement it).
Older releases of R#, including the first 5.1.2 EAP builds, worked fine with the solution.