Visual Basic Development Bookmark and Share   
 Home > Visual Basic IDE > Why visual studio 2005 keeps eating up memory even it is in editing mode
 

Why visual studio 2005 keeps eating up memory even it is in editing mode

Hi there, I need your help.

I am using Visual Studio 2005 with Service Pack1 installed. I am working on VB.Net project. However I am constantly choked up even I am in editing mode, i.e., I amNOT in debugging mode.

Here is what bothers me:
(1) open my development project in VB.NET
(2) Monitor Windows Task Manager, the VB.net development processhas a name of devenv.exe. This processusesabout 200 KB in memory space in the beginning
(3) then I start editing a vb file - I am doing some typing, copy/paste of text
(4) While monitoring the task manager, I found the devenv.exe process keeping using more and more memory
(5) At some point, which is about 10 minutes after I beganmy work, its memory usage reaches 1.5 GB ( i have a 2G ram)
(6) Then the program is choked up - when I try to save the .vb file or performing 'Build'. It gives message saying there is no enough memory.
(7) I now have to terminate my work and start over

Thank you for your help.

-Paul

Paul48085  Monday, November 23, 2009 6:42 PM
Hi Paul,

Thank you for your post.

Frankly speaking, this might be hard to troubleshoot online since there would be many causes for thescenario to happen.

However, you can try the following steps to deal with the case:
1. Tryrunning devenv /Safemode to see if you can open it correctly.
2. Reboot the machine into Safe Mode. This can isolate some third party application/driver's interference.
3. Switch to try a new user account. This can rule out the possibility of corrupted user profile.

If no avail, please trythe Process Monitor tool http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx which can capture the access log.
Filter on the process name devenv.exe in the log so that you see only the related list.
This should give you more info on what are the registry keys/ files being accessed when thescenario happens.

Hope this helps. If you have any concern, please feel free to let me know.

Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Wednesday, November 25, 2009 8:07 AM
i googled "visual studio 2005 out of memory" and found this
http://kbalertz.com/944840/Visual-Studio-crash-compile-large-Visual-Basic-project.aspx
BarbaraR  Monday, November 23, 2009 10:29 PM
Hi Paul,

Thank you for your post.

Frankly speaking, this might be hard to troubleshoot online since there would be many causes for thescenario to happen.

However, you can try the following steps to deal with the case:
1. Tryrunning devenv /Safemode to see if you can open it correctly.
2. Reboot the machine into Safe Mode. This can isolate some third party application/driver's interference.
3. Switch to try a new user account. This can rule out the possibility of corrupted user profile.

If no avail, please trythe Process Monitor tool http://www.microsoft.com/technet/sysinternals/utilities/processmonitor.mspx which can capture the access log.
Filter on the process name devenv.exe in the log so that you see only the related list.
This should give you more info on what are the registry keys/ files being accessed when thescenario happens.

Hope this helps. If you have any concern, please feel free to let me know.

Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Wednesday, November 25, 2009 8:07 AM

You can use google to search for other answers

Custom Search

More Threads

• How to make a module display intellisense correctly
• Harddrive interaction
• How Multiply data in columns of DataGridView
• dll problem in .net setup
• how to call functions in another proj
• VS2005 Calculator Problem?
• Overload resolution failed because no <method> is accessible
• Drag And Drop In The Same Listview
• Textbox with Multiline + Form Keypress Event
• Setting autopostback on dynamic control RadioButtonList