im looking for samples to load and unload dlls...
all the testing ive been doing (new at this)
the memory usage keeps going up
is there a way or a example of loading and unloading
appdomain
tia
Mike
this is a good sample:
http://www.codeproject.com/useritems/Assemblies___Appdomains.asp
Regards,
Husam Al-A'araj
www.aaraj.net
> im looking for samples to load and unload dlls...
> all the testing ive been doing (new at this)
[quoted text clipped - 5 lines]
> tia
> Mike
Mike,
You have posted before that memory usage is going up when you are
creating and unloading app domains. What are you using to determine that
the usage is going up? Task Manager? If so, then that's incorrect, as task
manager shows the working set for the process, and not actual memory usage.
You will have to look at the performance counters for .NET to determine
actual memory usage.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> im looking for samples to load and unload dlls...
> all the testing ive been doing (new at this)
[quoted text clipped - 5 lines]
> tia
> Mike
DaveP - 14 Oct 2007 16:13 GMT
maybe i dont have a clear understanding of the mem usage in Task manager....
as it keeps raising....what does this mean,
is this memory able to be reclaimed or is it locked....
Tks
Mike
> Mike,
>
[quoted text clipped - 14 lines]
>> tia
>> Mike
Nicholas Paldino [.NET/C# MVP] - 15 Oct 2007 00:09 GMT
Mike,
Here is a good blog entry that talks about working set:
http://blogs.msdn.com/salvapatuel/archive/2007/10/13/memory-working-set-explored.aspx
If you want to know how much memory .NET is consuming, then you will
have to take a look at the .NET performance counters.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
> maybe i dont have a clear understanding of the mem usage in Task
> manager....
[quoted text clipped - 22 lines]
>>> tia
>>> Mike
MikeJ - 15 Oct 2007 21:16 GMT
Thank you very much for your help
Mike
> Mike,
>
[quoted text clipped - 31 lines]
>>>> tia
>>>> Mike