We had the same problem and it is because Visual Basic is always compiling your code in the background. We've converted all of our code on the current project to C#, which only compiles your code when you tell it to do so. This has dramatically improved performance when coding the application.
Before we made the switch to C# we added 1GB of RAM (2GB total) and that helped some. If you decide to make the switch to C# there are lots of conversion tools available to help with that. Do a Google and you will find some. Hope this helps. Shawn Hevel, API, AIT Lead Programmer Analyst Information Technology Department South Carolina Farm Bureau Insurance Companies Phone: (803) 936-4331 Fax: (803) 936-4629 Work Email: [EMAIL PROTECTED] Home Email: [EMAIL PROTECTED] -----Original Message----- From: Stanislav Petko [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 12:33 PM To: [email protected] Subject: [ADVANCED-DOTNET] Visual Studio 2005 consumes ALL computer memory (RAM and virtual) Hello all. I have a quite big probelm with Visual Studio 2005. I program in Visual Basic and VS consumes all my memory, both RAM and virtual. I monitor devenv.exe process in Task Manager. When I start VS and load a solution (it's not so big), it occupies aproximatly 130 MB of RAM and the same amount of virtual memory. As I work, both of them goes up. And I do just simple things .. say I have 4 tabs with source code opened and I edit one of them. Occupied memory raises and very soon (up to 1 hour) the devenv.exe process has all RAM memory (I have 512 MB in system and the process takes cca 350 MB) and even all virtual memory (about 1 GB). I have to turn VS on and off, because otherwise it crashes. :-( I don't need to say you that work is very slow and restarting VS is annoying. At home I have the same problem with Visual Basic 2005 Express. Did anybody encounter this problem? Thanks a lot for any response. Some technical info: Visual Studio: VS 2005 Professional Edition, Version 8.0.50727.42 Framework: 2.0.50727 Language: Visual Basic Hardware: AMD Sempron 2800+ (2 GHz), 512 MB RAM Stano PS: Well. I know, 512 MB of RAM is not too much fo VS and very soon I will get 1 GB, but I don't thing that it will solve my problem. =================================== This list is hosted by DevelopMentorŽ http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorŽ http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
