473,486 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Appdomain

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
Oct 14 '07 #1
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
Oct 14 '07 #2
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

Oct 14 '07 #3
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


Oct 14 '07 #4
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


Oct 14 '07 #5
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


Oct 15 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
380
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...
5
15331
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...
1
4081
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....
4
2330
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...
8
5069
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...
6
8168
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...
1
1729
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. ...
12
8221
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
1
4274
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,...
4
5324
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...
0
7094
marktang
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,...
0
7123
Oralloy
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,...
1
6839
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...
0
7305
tracyyun
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...
0
5427
agi2029
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,...
1
4863
isladogs
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...
0
4559
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...
0
1378
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 ...
0
259
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.