|
|
|
start date: Wed, 15 Aug 2007 03:34:00 -0700,
posted on: microsoft.public.dotnet.framework.clr
back
| Thread Index |
|
1
AL
|
|
2
Mattias Sjgren
|
Mutliple calls to Assembly.Load()
Hi
I was wandering if anyone knows what the effect of calling Assembly.Load()
mutiple times for the same assembly will be in regard to loading the assembly
into the AppDomain.
I know that once it has been loaded, it cannot be unloaded until the
AppDomain is shutdown, however, will calling load cause it to be loaded
multiple times and cause unnecessary memory consumption, or are there no real
issues I need to be concerned with.
Many thanks
Al
--
I cna tyep 100 wodrs pre minu!te!!
Date:Wed, 15 Aug 2007 03:34:00 -0700
Author:
|
Re: Mutliple calls to Assembly.Load()
>I know that once it has been loaded, it cannot be unloaded until the
>AppDomain is shutdown, however, will calling load cause it to be loaded
>multiple times and cause unnecessary memory consumption, or are there no real
>issues I need to be concerned with.
No, the assembly will only be loaded once.
Mattias
--
Mattias Sjgren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Date:Wed, 15 Aug 2007 19:29:33 +0200
Author:
|
|
|