473,387 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Application memory usage

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

------------------------------
Nov 20 '05 #1
4 1223
> 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
Nov 20 '05 #2
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" <no****@nottelling.com> wrote in message
news:br**********@atlantis.news.tpi.pl...
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

Nov 20 '05 #3
OK, found all details.. thanks

--
Cheers,
Crirus

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

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

"Blumidoo" <no****@nottelling.com> wrote in message
news:br**********@atlantis.news.tpi.pl...
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

Nov 20 '05 #4
* "Crirus" <Cr****@datagroup.ro> 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>
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tux | last post by:
I dispose and set to null JFrame, also JPanels of my application set to null and everything create again. The memory usage of my application grows every time I do that. Why?
1
by: Arie | last post by:
The question is: I would like to know how to reduce my dot.net application memory usage, I have already tried to the SetProcessWorkingSetSize method with reduced the memory in 7MB, but that’s...
2
by: sean | last post by:
Hi, I notice if I run my application, the Windows Task Manager shows the application using around 20MB of memory. However, after I minimized the application and maximize/restore the...
4
by: Ethan Chan | last post by:
I have recently been deploying a asp.net extranet application. The asp.net worker process starts off with 30MB virtual memory and then upon serving a few pages, the memory usage increases to a...
6
by: Christo.Boysen | last post by:
Good afternoon all i am currently battling with memory usage of my ..NET applications. A simple form with 2 text boxes, 3 command buttons use approx 8MB of RAM, though when compiled the exe is...
1
by: Sin Jeong-hun | last post by:
We can easily see the application's memory usage at the Task Manager. Usually .NET Applications seem to consume a lot of memory. But I've heard that this is so-called _working set_. Does this means...
22
by: roadrunner | last post by:
Hi, Our website has recently been experiencing some problems under load. We have pinpointed a particular function which slows dramatically when we have these problems. Normally it should execute...
3
by: san | last post by:
we cannot stop the application from increasingly use memory. The CRM Worker process will continually consume memory but not release it back to the system. Please research into how to make the...
1
by: Jean-Paul Calderone | last post by:
On Tue, 22 Apr 2008 14:54:37 -0700 (PDT), yzghan@gmail.com wrote: The test doesn't demonstrate any leaks. It does demonstrate that memory usage can remain at or near peak memory usage even after...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.