Groups | Blog | Home
all groups > visual studio .net general > april 2007 >

visual studio .net general : devenv.exe using 800MB


pickedaname
4/20/2007 6:08:01 AM
I have been using vs2005 and sp1 for months now without these issues. I have
absolutely no addins. I have IPWorks .NET v6, which added a toolbox for me.

I have an xp pro laptop with a core 2 duo and 1gb ram. My system started to
really crawl about 30 minutes ago.I was just starting a windows form in
vb.net and had a few textboxes and 20 lines of code written. I went to
dynamic help while having "File" highlighted.

Task Manager said that devenv.exe (not dexplore.exe) was using 800MB !!!!!!!
It took me TEN MINUTES just to save the project (yes, just to click the save
button) and another 7 minutes for devenv.exe to disappear from task manager.

I will reproduce this problem with User Experience thing enabled so
hopefully it will get to MS.

This is absolutely unacceptable. I have the latest version of officescan
(updated) and no spyware etc...

The new "Windows Desktop Search" Indexer from MS was on 'snooze mode' the
whole time as it renders Outlook 2007 unusable. Before we get into "oh, is
this or that on your system, did you have too many programs running, etc.."

I got it down to just VS2005 open (all other progs closed) and it was still
using 800MB of my 1000MB of RAM.

Considering I am on wireless, using Cisco VPN client you can see that under
those circumstanses, I am living in the page file,

not physical RAM which explaiuns the slowdown. You cannot possibly try to
attribute this to anything else when VS2005 is eating up more ram than what
was probably available to the system before it bloated. If another prog was
doing this, it's own process would be using the 800MB, not visual studio.
Thanks

pickedaname
4/21/2007 6:58:01 AM
It just did it again.
I had to end task as I couldn't just close the project. it was using 800MB
again, and my pf usage was @ 1.5Gb. when I ended visual studio, it went back
down to 400Mb
and my system became usable again. Reminds me of win9x.......



[quoted text, click to view]
stcheng NO[at]SPAM online.microsoft.com
4/23/2007 12:00:00 AM
Hi pickedaname,

From your description, you're encountering high memory consumption problem
when using the Visual Studio 2005 IDE(with sp1 installed), correct?

Regarding on this problem, I've performed some research and found that
there has some known issue about open some certain item in Visual Studio
cause devenv consuming high memory, however, it should have been fixed in
SP1. Here is the kb article on this known issue:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;924331

For some other former cases having similar symptom, most of them are caused
by open a particular project item(or a certain project with specific
settings). Based on the nature of this issue, it's hard to detect the
exacct cause without thorough debugging such as analyze the memory dump of
the process(devenv). So far I would suggest you try isolating the problem
scenario, is the high memory behavior occur whenever you launch VS
2005(without opening any project) or always open a particular project? If
possible, you can make a typical project package that can duplicate the
problem so that I can help perform some local test.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
stcheng NO[at]SPAM online.microsoft.com
4/25/2007 2:45:38 PM
Hi pickedaname,

Have you got any further progress on this issue? Due to the complexity of
this issue which may need thorough memory debugging or static dump
analysis, I would suggest you contact CSS for further assitance if this is
an urgent issue.

http://msdn.microsoft.com/subscriptions/support/default.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
pickedaname
4/26/2007 5:10:02 PM
Hi Steve,
Thanks for the quick responses.
Actually, I had created a class named Switch.
I was then instantiating (design time, in code) new Switch objects. As you
probably know, the .NET framework has a Switch class. I think this somehow
screwed vs up, even though you would think this would be ok to do.
I will continue to monitor the situation and post here next week.
Thanks

[quoted text, click to view]
AddThis Social Bookmark Button