I figured out the problem to my Visual Studio 2005 memory issue awhile ago and forgot to post about it.

The sample solution that I created to reproduce the problem included several strongly typed ArrayList generated with code smith (I know I should be using generics but when I found the problem it was in a 1.1 project converted to 2.0 that had too many generated strongly typed ArrayList in place to replace with generics versions). It turns out that it wasn’t the ArrayList that was causing the problems but the XML comments . I found a bug report that describes the problem:http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=90681

It looks like there is now a hotfix out to fix the problem. KB917452 describes the problem and you can get a hotfix if you call in to Microsoft. That hotfix also includes the hotfix for KB915038 that fixes a bunch of VB Compiler problems. I have the compiler hotfix installed (fixed a separate issue I was having) but have not tried the newer hotfix yet, I instead removed all my xml comments from my generated code and my VS memory consumption is way down.

On a side note Microsoft was very helpful in fixing the problem. I initially though it was a Web Application Project problem and the Asp.net team replied almost instantly when I emailed about the problem. When I called Microsoft to get the hotfix for KB915038 they were quick and helpful.

Posted at 7/23/2006 10:40 PM
Comments [0] - Permalink
Please login with either your OpenID above, or your details below.
Home page

Comment (Some html is allowed: a@href@title, i) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview