M
Michael Hoehne
Hi,
this may be a simple question and I'm sure it's answered somewhere in the
docs, but I haven't found it so far.
When running a simple .NET application, Task Manager reports that it needs
about 10MB RAM. Depending on what libraries are used, this may be more or
less. This is what I expect for the first time, because the .NET framework
libraries are loaded into memory.
Now, when starting the same app several times, Task Manager reports 10MB RAM
usage for each started process, which I don't understand. I have two
explanations for it:
1. Task Manager does not report the correct memory usage
2. The .NET framework libraries are loaded into each process
So far, I haven't cared about it, but I'm developing a product consisting
out of some standalone applications, Office Addins, Smart Tags, Smart
Documents, Local Web Services running an Office Research Provider and so on,
so 5 - 10 processes will be started. If the .NET Framework is loaded into
each of these processes, it will need 100MB of RAM or even more just for
copies of the Framework.
Is that a correct assumption? If yes, is there any compiler or linker switch
to share the same instance of the .NET Framework?
Thanks
Michael
this may be a simple question and I'm sure it's answered somewhere in the
docs, but I haven't found it so far.
When running a simple .NET application, Task Manager reports that it needs
about 10MB RAM. Depending on what libraries are used, this may be more or
less. This is what I expect for the first time, because the .NET framework
libraries are loaded into memory.
Now, when starting the same app several times, Task Manager reports 10MB RAM
usage for each started process, which I don't understand. I have two
explanations for it:
1. Task Manager does not report the correct memory usage
2. The .NET framework libraries are loaded into each process
So far, I haven't cared about it, but I'm developing a product consisting
out of some standalone applications, Office Addins, Smart Tags, Smart
Documents, Local Web Services running an Office Research Provider and so on,
so 5 - 10 processes will be started. If the .NET Framework is loaded into
each of these processes, it will need 100MB of RAM or even more just for
copies of the Framework.
Is that a correct assumption? If yes, is there any compiler or linker switch
to share the same instance of the .NET Framework?
Thanks
Michael