PC Review


Reply
Thread Tools Rate Thread

Application memory usage

 
 
Crirus
Guest
Posts: n/a
 
      16th Dec 2003
I have an aplication (obviously )
I look at the Task Manager, memory usage column and notice the following:

First time I start the application, I have around 55.000- 60.000 K.
After I minimise the application and restore, the Memory usage drop to
16.000K and remain around that value..
Should I be concerned with this?



--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------


 
Reply With Quote
 
 
 
 
Blumidoo
Guest
Posts: n/a
 
      16th Dec 2003
> I have an aplication (obviously )
> I look at the Task Manager, memory usage column and notice the following:
>
> First time I start the application, I have around 55.000- 60.000 K.
> After I minimise the application and restore, the Memory usage drop to
> 16.000K and remain around that value..
> Should I be concerned with this?


Nothing to worry about, this is how .NET Framework works.

You might want to browse through the
microsoft.public.dotnet.framework.performance archives on
Google for the big collection of posts on the topic.

sincerely,
--
Sebastian Zaklada
Skilled Software
http://www.skilledsoftware.com
************************************
SQL Source Control 2003 - for
SQL Server Source Safe integration
and custom databases documentation


 
Reply With Quote
 
Crirus
Guest
Posts: n/a
 
      16th Dec 2003
I still like to get some explanation on this... kind of courious...

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"Blumidoo" <(E-Mail Removed)> wrote in message
news:brmrvd$2gm$(E-Mail Removed)...
> > I have an aplication (obviously )
> > I look at the Task Manager, memory usage column and notice the

following:
> >
> > First time I start the application, I have around 55.000- 60.000 K.
> > After I minimise the application and restore, the Memory usage drop to
> > 16.000K and remain around that value..
> > Should I be concerned with this?

>
> Nothing to worry about, this is how .NET Framework works.
>
> You might want to browse through the
> microsoft.public.dotnet.framework.performance archives on
> Google for the big collection of posts on the topic.
>
> sincerely,
> --
> Sebastian Zaklada
> Skilled Software
> http://www.skilledsoftware.com
> ************************************
> SQL Source Control 2003 - for
> SQL Server Source Safe integration
> and custom databases documentation
>
>



 
Reply With Quote
 
Crirus
Guest
Posts: n/a
 
      16th Dec 2003
OK, found all details.. thanks

--
Cheers,
Crirus

------------------------------
If work were a good thing, the boss would take it all from you

------------------------------

"Blumidoo" <(E-Mail Removed)> wrote in message
news:brmrvd$2gm$(E-Mail Removed)...
> > I have an aplication (obviously )
> > I look at the Task Manager, memory usage column and notice the

following:
> >
> > First time I start the application, I have around 55.000- 60.000 K.
> > After I minimise the application and restore, the Memory usage drop to
> > 16.000K and remain around that value..
> > Should I be concerned with this?

>
> Nothing to worry about, this is how .NET Framework works.
>
> You might want to browse through the
> microsoft.public.dotnet.framework.performance archives on
> Google for the big collection of posts on the topic.
>
> sincerely,
> --
> Sebastian Zaklada
> Skilled Software
> http://www.skilledsoftware.com
> ************************************
> SQL Source Control 2003 - for
> SQL Server Source Safe integration
> and custom databases documentation
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      16th Dec 2003
* "Crirus" <(E-Mail Removed)> scripsit:
> I have an aplication (obviously )
> I look at the Task Manager, memory usage column and notice the following:
>
> First time I start the application, I have around 55.000- 60.000 K.
> After I minimise the application and restore, the Memory usage drop to
> 16.000K and remain around that value..
> Should I be concerned with this?


This behavior is not specific to .NET applications only.

It is a feature of the Windows/Explorer shell.

If an application is minimized, Windows removes the working set memory from
the application by calling the Win32 function 'SetProcessWorkingSetSize':

<http://msdn.microsoft.com/library/en-us/dllproc/base/setprocessworkingsetsize.asp>

Windows supposes that minimized applications will not be used for some time
and this memory will be made available to other processes.

When restoring the window the application gets the memory back:

<http://support.microsoft.com/?kbid=293215>

This behavior is by design and it doesn't make sense to worry about it.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory usage of my application RLN Microsoft VC .NET 1 10th Mar 2009 08:30 PM
Memory usage of another application. tc Microsoft VB .NET 1 18th Jul 2008 06:17 PM
Application Memory Usage Christo.Boysen Microsoft VB .NET 3 28th Jan 2005 01:17 AM
.NET application memory usage Devon Ferns Microsoft Dot NET Framework 0 4th Feb 2004 09:46 PM
Application Memory Usage Leon Microsoft Dot NET Compact Framework 1 13th Aug 2003 12:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:39 PM.