Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

VS 2010 Uses almost ALL memory and never releases it

$
0
0

Here is the scenario.  We have virtual machines (4 Cores+16GB).  We load a visual studo solution with aproximately 50 projects and rebuild.  This is a WCF middle tier solution that is consumed by web-sites.  When Visual Studio is first started it uses about 1 GB of memory.  Then, when svcutil.exe is being called to interrogate the web services, it jumps to 3GB in about 2 minutes.  When the compilation is complete 13GB has been used with NO OTHER APPs running. Task Manager shows DevEnv.exe at 500MB.  But the CLR heap is massive.

When you exit Visual Studio the memory is not releasedand 13GB remains in use.  Of course, this slows everything down to a crawl.

Is there a fix or workaround for this?  This has to be Visual Studio IMHO.  I have Re-Sharper as well but another co-worker of mine doest NOT have Re-sharper and he is getting the exact same condition that I am. 

Is there a tool available to re-claim the memory manually instead of rebooting?

Is there a way to tell VS NOT to use all the memory and reduce its footprint?

I was hoping that by getting VMs with lots of memory and cores I'd have a zippy, robust environment.  Instead, VS has decided it owns it all starving all other processes from CPU and memory; not to mention itself!  This kinda sucks and so far leave me with a negative impression of Visual Studio.

Environment:

Visual Studio 2010 PremiumSP1 RTM applied. Specifically:

Microsoft Visual Studio 2010
Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.5.50709 SP1Rel

Installed Version: Premium

Microsoft Office Developer Tools   01021-532-2002102-70459
Microsoft Office Developer Tools

Microsoft Visual Basic 2010   01021-532-2002102-70459
Microsoft Visual Basic 2010

Microsoft Visual C# 2010   01021-532-2002102-70459
Microsoft Visual C# 2010

Microsoft Visual C++ 2010   01021-532-2002102-70459
Microsoft Visual C++ 2010

Microsoft Visual F# 2010   01021-532-2002102-70459
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Code Analysis Spell Checker   01021-532-2002102-70459
Microsoft Visual Studio 2010 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Microsoft Visual Studio 2010 Team Explorer   01021-532-2002102-70459
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010   01021-532-2002102-70459
Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010  
Crystal Reports Templates for Microsoft Visual Studio 2010

Entity Framework Power Tools   1.0
Adds useful design-time DbContext features to the Visual Studio Solution Explorer context menu.

When right-clicking on a file containing a derived DbContext class, the following context menu functions are supported:

1) View Entity Data Model - Displays the underlying Code First model in the Entity Framework designer.
2) View Entity Data Model XML - Displays the EDMX XML representing the underlying Code First model.
3) Generate Views - Generates pre-compiled views used by the EF runtime to improve start-up performance. Adds the generated views file to the containing project.

JetBrains ReSharper 7.1   Full Edition build 7.1.25.234 on 2012-11-14T03:34:00
JetBrains ReSharper 7.1 package for Microsoft Visual Studio. For more information about ReSharper, visithttp://www.jetbrains.com/resharper/. Copyright © 2003–2013 JetBrains, Inc.

Microsoft Visual Studio 2010 Premium - ENU Service Pack 1 (KB983509)   KB983509
This service pack is for Microsoft Visual Studio 2010 Premium - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/983509.

Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.40219
Microsoft Visual Studio 2010 SharePoint Developer Tools

Progress DataDirect Connect ® for ADO.NET   4.0
Progress DataDirect Connect for ADO.NET 4.0. Copyright (C) 2011 Progress DataDirect.  All rights reserved.

Telerik Web VSPackage   1.0
Telerik Web VSPackage

Windows Server 2008 R2 Standard (Version 6.1 Build 7601:Service Pack 1)

16GB RAM

4-64 bit cores



Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>