Re: Visual Studio 2005 is a memory hog!!



On 11/4/05 15:11, in article #LhR$SZ4FHA.3312@xxxxxxxxxxxxxxxxxxxx, "Robert
Conde" <conde@xxxxxxxxxxxxxxxx> wrote:

> Fair enough - but is my point valid? Namely that when you're talking about
> an app that uses .NET, the old benchmark of looking at memory usage in the
> task manager isn't valid anymore?
>
> I'm actually a bit concerned about this when we deliver our app...people are
> gonna call it a memory hog for this very same reason.
>
> Robert Conde
>
> "Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:%23WNSJVY4FHA.472@xxxxxxxxxxxxxxxxxxxxxxx
>>> Visual Studio 2005 gui is written in .NET no? Isn't the memory used by a
>>> .NET app in the task manager usually misleading as the runtime takes more
>>> than it needs but gives it up as other apps need it?
>>
>> It is, and it isn't. At present, it's a rather unholy mixture of .Net and
>> COM. But I can see in the documentation and Ildasm that they're attempting
>> to rememdy this.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> A watched clock never boils.
>>
>> "Robert Conde" <conde@xxxxxxxxxxxxxxxx> wrote in message
>> news:uomCbQY4FHA.3588@xxxxxxxxxxxxxxxxxxxxxxx
>>> Visual Studio 2005 gui is written in .NET no? Isn't the memory used by a
>>> .NET app in the task manager usually misleading as the runtime takes more
>>> than it needs but gives it up as other apps need it?
>>>
>>> Robert Conde
>>>
>>> "Ed West" <west@xxxxxxxxxxxxx> wrote in message
>>> news:eob6ov73FHA.2872@xxxxxxxxxxxxxxxxxxxxxxx
>>>> Hey,
>>>>
>>>> Just installed release version of 2005, downloaded from msdn. What a
>>>> memory hog! I have 4 code windows open, and it's taking over 1 GB of
>>>> memory! System response time is terrible, it takes 2 seconds for
>>>> context menu to come up. Unacceptable. I didn't have this problem with
>>>> beta 2 or the RC... any ideas??
>>>>
>>>> Thanks,
>>>>
>>>> Ed
>>>
>>>
>>
>>
>
>
Did you measure memory footprint on the first run, or on subsequent? First
run loads a lot of things since it needs to set up certain components,
generate toolbox, etc. Usually memory consumption is lower on subsequent
runs.

No, VS IDE is native C++. However, some components are managed, such as
property window, XML editor, Data/Schema editors, Class designer, ...

Thanks
Mikhail Arkhipov (Microsoft)
-- This post is provided 'AS IS' with no warranties and confers no rights

.



Relevant Pages

  • Re: best way to track down a memory leak?
    ... time you run your app you start another instance of Word. ... The task manager will tell you what exactly is consuming what. ... > check Task Manager memory usage, ... >> I didn't think it was possible to create a memory leak with VFP, ...
    (microsoft.public.fox.programmer.exchange)
  • Re: why does minimizing my app cut mem usage by 90%?
    ... thanks for pointing it out. ... assertion that the values returned by task manager for program size are essentially ... It is worth pointing out that "minimizing" an app as he desires to do actually doesn't ... minimize its memory footprint; it merely pessimizes its performance, ...
    (microsoft.public.vc.mfc)
  • Re: How to set up a Linux machine that occupies the minimum memory footprint ?
    ... Of course, if you use 8GB of RAM, or more precisely if you ... Are you saying that if I have a 4GB RAM memory, ... Linux will somehow "know" that it doesn't have ... You've said in another message that your app is ...
    (comp.os.linux.setup)
  • Re: How to set up a Linux machine that occupies the minimum memory footprint ?
    ... Of course, if you use 8GB of RAM, or more precisely if you ... Are you saying that if I have a 4GB RAM memory, ... Linux will somehow "know" that it doesn't have ... You've said in another message that your app is ...
    (comp.os.linux.misc)
  • Re: Forms Creation Question
    ... Because the task manager on Pocket PC doesn't actually enumerate the ... it merely creates a list of the captions of all the ... > I show tons of instances of my app opened, only because a bunch of forms ... >>> but if I know that the forms are all created and reside in memory at ...
    (microsoft.public.dotnet.framework.compactframework)

Loading