473,587 Members | 2,637 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.Net framework RAM/processor requirements understanding

Raj

1) What would be the runtime RAM requirements for a managed application
compared to similar application unmanaged. Will there be more RAM required
because it is managed application, say simple application like 'Hello world'
which is not using any stack or heap variables.

2) If I install .Net frame work 1.1 or 2.0 and donot run any managed
application, will the .Net frame still use any RAM?

3) Please direct me to any links that explain RAM or processor overhead
because of running a managed application or simply because of installing .Net
framework.

Thanks,
Raj
Jan 10 '06 #1
4 1333

"Raj" <Ra*@discussion s.microsoft.com > wrote in message
news:0D******** *************** ***********@mic rosoft.com...
|
| 1) What would be the runtime RAM requirements for a managed application
| compared to similar application unmanaged. Will there be more RAM
required
| because it is managed application, say simple application like 'Hello
world'
| which is not using any stack or heap variables.
|
Yes, the memory consumption of .NET applications is somewhat higher than a
native application. The reason for this is that the run-time ust be loaded
before any managed code can run, the amount of memory that isneeded is
highly dependent of the type of application, but in general one can say that
such app. consumes some 5 - 10 MB more than it's unmanaged equivalent.

| 2) If I install .Net frame work 1.1 or 2.0 and donot run any managed
| application, will the .Net frame still use any RAM?
|
No.

| 3) Please direct me to any links that explain RAM or processor overhead
| because of running a managed application or simply because of installing
..Net
| framework.
|

Google can be helpfull to find some of these resources, but basically all
you need can be found on Microsoft's MSDN site.
Willy.
Jan 10 '06 #2
Raj
Thanks for the detailed reply.

I guess this managed overhead is constant after all managed components are
loaded even if we keep adding more and more managed Applications or windows
services.

"Willy Denoyette [MVP]" wrote:

"Raj" <Ra*@discussion s.microsoft.com > wrote in message
news:0D******** *************** ***********@mic rosoft.com...
|
| 1) What would be the runtime RAM requirements for a managed application
| compared to similar application unmanaged. Will there be more RAM
required
| because it is managed application, say simple application like 'Hello
world'
| which is not using any stack or heap variables.
|
Yes, the memory consumption of .NET applications is somewhat higher than a
native application. The reason for this is that the run-time ust be loaded
before any managed code can run, the amount of memory that isneeded is
highly dependent of the type of application, but in general one can say that
such app. consumes some 5 - 10 MB more than it's unmanaged equivalent.

| 2) If I install .Net frame work 1.1 or 2.0 and donot run any managed
| application, will the .Net frame still use any RAM?
|
No.

| 3) Please direct me to any links that explain RAM or processor overhead
| because of running a managed application or simply because of installing
..Net
| framework.
|

Google can be helpfull to find some of these resources, but basically all
you need can be found on Microsoft's MSDN site.
Willy.

Jan 11 '06 #3
Not really, the CLR is loaded per process, while a lot of the framework code
is shared amongst managed processes, your code is not (unless you ngen'd
your assemblies).

Willy.

"Raj" <Ra*@discussion s.microsoft.com > wrote in message
news:CA******** *************** ***********@mic rosoft.com...
| Thanks for the detailed reply.
|
| I guess this managed overhead is constant after all managed components are
| loaded even if we keep adding more and more managed Applications or
windows
| services.
|
|
|
| "Willy Denoyette [MVP]" wrote:
|
| >
| > "Raj" <Ra*@discussion s.microsoft.com > wrote in message
| > news:0D******** *************** ***********@mic rosoft.com...
| > |
| > | 1) What would be the runtime RAM requirements for a managed
application
| > | compared to similar application unmanaged. Will there be more RAM
| > required
| > | because it is managed application, say simple application like 'Hello
| > world'
| > | which is not using any stack or heap variables.
| > |
| > Yes, the memory consumption of .NET applications is somewhat higher than
a
| > native application. The reason for this is that the run-time ust be
loaded
| > before any managed code can run, the amount of memory that isneeded is
| > highly dependent of the type of application, but in general one can say
that
| > such app. consumes some 5 - 10 MB more than it's unmanaged equivalent.
| >
| > | 2) If I install .Net frame work 1.1 or 2.0 and donot run any managed
| > | application, will the .Net frame still use any RAM?
| > |
| > No.
| >
| > | 3) Please direct me to any links that explain RAM or processor
overhead
| > | because of running a managed application or simply because of
installing
| > ..Net
| > | framework.
| > |
| >
| > Google can be helpfull to find some of these resources, but basically
all
| > you need can be found on Microsoft's MSDN site.
| >
| >
| > Willy.
| >
| >
| >
Jan 12 '06 #4
Raj
1) Is the .text area not shared even when same application(sam e version) has
more instances like two processes for same application.

2) Is it same with unmanaged Win32 applications also? Only Dll text is
shared?

thanks,
Raj

"Willy Denoyette [MVP]" wrote:
Not really, the CLR is loaded per process, while a lot of the framework code
is shared amongst managed processes, your code is not (unless you ngen'd
your assemblies).

Willy.

"Raj" <Ra*@discussion s.microsoft.com > wrote in message
news:CA******** *************** ***********@mic rosoft.com...
| Thanks for the detailed reply.
|
| I guess this managed overhead is constant after all managed components are
| loaded even if we keep adding more and more managed Applications or
windows
| services.
|
|
|
| "Willy Denoyette [MVP]" wrote:
|
| >
| > "Raj" <Ra*@discussion s.microsoft.com > wrote in message
| > news:0D******** *************** ***********@mic rosoft.com...
| > |
| > | 1) What would be the runtime RAM requirements for a managed
application
| > | compared to similar application unmanaged. Will there be more RAM
| > required
| > | because it is managed application, say simple application like 'Hello
| > world'
| > | which is not using any stack or heap variables.
| > |
| > Yes, the memory consumption of .NET applications is somewhat higher than
a
| > native application. The reason for this is that the run-time ust be
loaded
| > before any managed code can run, the amount of memory that isneeded is
| > highly dependent of the type of application, but in general one can say
that
| > such app. consumes some 5 - 10 MB more than it's unmanaged equivalent.
| >
| > | 2) If I install .Net frame work 1.1 or 2.0 and donot run any managed
| > | application, will the .Net frame still use any RAM?
| > |
| > No.
| >
| > | 3) Please direct me to any links that explain RAM or processor
overhead
| > | because of running a managed application or simply because of
installing
| > ..Net
| > | framework.
| > |
| >
| > Google can be helpfull to find some of these resources, but basically
all
| > you need can be found on Microsoft's MSDN site.
| >
| >
| > Willy.
| >
| >
| >

Jan 31 '06 #5

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

Similar topics

5
459
by: Mike Goatly | last post by:
Hi, I need to be able to read the amount of processor time a thread has taken up. So far I've found the following methods open to me: 1) Find the relevant ProcessThread in the current process' ProcessThreadCollection and read the TotalProcessorTime. 2) Find the PerformanceCounter for the Thread category that relates to the current thread, and use the NextSample() method to read the processor time
20
2137
by: Shiv Kumar | last post by:
Is there a known problem or caveat with ASP.NET sessions on a multi-processor machine? Are sesions bound to a CPU or are they application wide? My machine.config is the default and my web.config file has no session specific entries. On my development machine XP I have no problem but on the production server W2K3/dual proc I have issues. -- Shiv R. Kumar http://www.matlus.com
9
3025
by: Xah Lee | last post by:
REQUIREMENTS FOR A VISUALIZATION SOFTWARE SYSTEM FOR 2010 Xah Lee, 2007-03-16 In this essay, i give a list of requirements that i think is necessary for a software system for creating scientific visualization for the next decade (2007-2017). (for a HTML version with images, please see http://xahlee.org/3d/viz.html )
176
8305
by: nw | last post by:
Hi, I previously asked for suggestions on teaching testing in C++. Based on some of the replies I received I decided that best way to proceed would be to teach the students how they might write their own unit test framework, and then in a lab session see if I can get them to write their own. To give them an example I've created the following UTF class (with a simple test program following). I would welcome and suggestions on how anybody...
0
7927
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
8220
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...
1
7981
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8222
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
6632
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...
0
5396
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
3846
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1194
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.