473,795 Members | 3,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RAM used by a dotnet exe

Hi,
I have a VC++ 6 project I migrated to vc 7++ DOTNET.
* in a first step , I don't use Managed extension ->
memory used is 16 Mo.
* then I check "use managed extensions" in project
properties -> memory used is 58 Mo.
16 Mo for a win32 exe and 58 Mo if I just add /clr option.
Is it normal ?
thanks
Nov 16 '05 #1
1 2150
All of the memory is not actually used, most is reserved (overall conditions
permitting). It's called a Process' Working Set.

http://discuss.develop.com/archives/...=0&I=-3&P=1450
Quote from above post:
"Loading assemblies in to memory is a fairly expensive but transient
operation. The reason you see that minimizing the app reduced the memory
usage so much is that the memory isn't really being used. Windows trims the
working set of apps when it minimized them. That memory was briefly used
while loading all those assemblies but isn't used after that. While
disconcerting to look at in the task manager the memory usage is not going
to create a long term drain on your system. That said, this is an issue we
are trying to work hard on for future versions of the Framework"

http://groups.google.com/groups?&q=S...ngSetSize+.net
"steph" <an*******@disc ussions.microso ft.com> wrote in message
news:07******** *************** *****@phx.gbl.. .
Hi,
I have a VC++ 6 project I migrated to vc 7++ DOTNET.
* in a first step , I don't use Managed extension ->
memory used is 16 Mo.
* then I check "use managed extensions" in project
properties -> memory used is 58 Mo.
16 Mo for a win32 exe and 58 Mo if I just add /clr option.
Is it normal ?
thanks

Nov 16 '05 #2

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

Similar topics

4
1111
by: Rob Nicholson | last post by:
Is there a nice reference somewhere that explains how all the security accounts (e.g. ASPNET) used in VB.NET, ASP.NET running on IIS5? I find the whole thing a bit of a mystery :-) Thanks, Rob.
9
2344
by: harry | last post by:
Hi, During compilation, a C# project in my solution triggers the following warning: "warning CS0168: The variable 'ex' is declared but never used" To trigger this warning, it appears the C# compiler WarningLevel needs to be 3 or above.
6
1364
by: Marty | last post by:
Hi, I would like to know if the VB.NET compiler could tell about not used variable? If yes, How do I set it? Or at least display a warning like in c++. Thanks you Marty
2
1148
by: Franky | last post by:
I create and assembly and then start a process with it. I'd like to create it someplace where it would be deleted when the Disk Cleanup is run. How can I reference the directory that is used for temp files. thanks
11
2039
by: Greg | last post by:
How can C# be used for a website ? Would the person viewing a site need to have the .NET framework installed ? What other technologies would need to be used ? Would a database server be needed for dynamic content ?
2
2118
by: JayvardhanPune | last post by:
I am facing a problem with my GDI++ code in C# control. Though i have tried many things from last 6 months, i am not able to get completely rid of this bug. Whenever the user is opening a window or closing a window, i'm getting following exception. This is a very rare exception but it causes the whole application crash
6
1446
by: =?Utf-8?B?QmVu?= | last post by:
Hi all, Can you share with me the naming standards for the following : VB.Net, ASP.Net Naming Standards Namespaces Assemblies Classes and Structs Collection classes Delegate classes
12
1787
by: Jack Russell | last post by:
If I have a machine with all 3 versions of the framework (1 , 2 and 3) am I right in thinking that .net 2003 will choose to use version 1? Certainly that is what environment.version seems to show. Thanks
17
2092
by: tshad | last post by:
In VS 2008, I have an object, dbReader, that I get a warning saying that it is used before it has been assigned a value. That is correct. Dim dbReader As SqlDataReader and later:
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10435
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9037
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6779
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.