473,386 Members | 1,773 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,386 software developers and data experts.

.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 1326

"Raj" <Ra*@discussions.microsoft.com> wrote in message
news:0D**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
news:0D**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
news:CA**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
| > news:0D**********************************@microsof t.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(same 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*@discussions.microsoft.com> wrote in message
news:CA**********************************@microsof t.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*@discussions.microsoft.com> wrote in message
| > news:0D**********************************@microsof t.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
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...
20
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...
9
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...
176
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...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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
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.