DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us