473,473 Members | 1,874 Online
Bytes | Software Development & Data Engineering Community
Create 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 2133
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*******@discussions.microsoft.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
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
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#...
6
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
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...
11
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...
2
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...
6
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
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....
17
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
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...
0
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...
0
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,...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.