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 5 1681
this is a good sample: http://www.codeproject.com/useritems...Appdomains.asp
Regards,
Husam Al-A'araj www.aaraj.net
"Analizer1" wrote:
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
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Analizer1" <an*******@yahoo.comwrote in message
news:dt*******************@newssvr29.news.prodigy. net...
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
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
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:1E**********************************@microsof t.com...
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Analizer1" <an*******@yahoo.comwrote in message
news:dt*******************@newssvr29.news.prodigy. net...
>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
Mike,
Here is a good blog entry that talks about working set: http://blogs.msdn.com/salvapatuel/ar...-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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"DaveP" <ve***********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
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
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote
in message news:1E**********************************@microsof t.com...
>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.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
"Analizer1" <an*******@yahoo.comwrote in message news:dt*******************@newssvr29.news.prodigy .net...
>>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
Thank you very much for your help
Mike
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:65**********************************@microsof t.com...
Mike,
Here is a good blog entry that talks about working set:
http://blogs.msdn.com/salvapatuel/ar...-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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"DaveP" <ve***********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>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
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in message news:1E**********************************@microsof t.com...
>>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.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard.caspershouse.com
"Analizer1" <an*******@yahoo.comwrote in message news:dt*******************@newssvr29.news.prodig y.net... 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 thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Satinderpal Singh |
last post by:
Hi All,
I have an EXE, I load the DLL from that exe in a seperate AppDomain. (I have
not given reference to that DLL from the EXE).
Now, i call some commands of that dll from the EXE, and in...
|
by: Chris |
last post by:
Hi
I have a scenario where I've created another AppDomain to dynamically load a DLL(s) into. In this newly loaded DLL I want to call a static method on a class. The problem arise is that I have...
|
by: MatthewRoberts |
last post by:
Howdy All,
I am having difficulty with two-way communication across AppDomains in
an attempt to dynamically script applications. Everything works as
expected, except when using ByRef parameters....
|
by: Chris Lacey |
last post by:
Hi,
I'm currently writing a scheduling service which starts a number DotNet
executables, each within a new AppDomain, every ten seconds.
The guts of the code is as follows:
// For each...
|
by: A. Elamiri |
last post by:
Hello,
I created a small app which acts as a services manager. I basically drop a
DLL in a Services folder and set the frequency through the application for
how often do I want the code in the...
| |
by: Wal Turner |
last post by:
Hi there. There are various snippets on forums regarding issues with
AppDomain.Unload and how it just doesnt work.
Fortunately, I got it working with the base case, after much fiddling.
Consider...
|
by: Andrew Ducker |
last post by:
I'm trying to load an assembly into a temporary AppDomain rather than
my main AppDomain, so that it can be unloaded later on. However, it's
also loading into my main AppDomain at the same time.
...
|
by: John |
last post by:
I have a AppDomain ID, how do I get the instance of the AppDomain
Object?
Please advice.
Thanks in advance.
John
|
by: Bill Woodruff |
last post by:
Visual Studio 2005, .NET FrameWork 2.0, C#, WinForms Application
Hi,
I've read the recent posts by and to 'Thunderbird' (and learned a lot,
thanks, from the usual masters Skeet and Paladino,...
|
by: illegal.prime |
last post by:
Hi all, I'm getting unexpected results when trying to preload
assemblies into an AppDomain I'm creating. Upon creation of the
AppDomain - I attach an AssemblyResolve to both my current AppDomain...
|
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,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |