Appdomain

A

Analizer1

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
D

DaveP

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 said:
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]
- (e-mail address removed)

Analizer1 said:
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
 
N

Nicholas Paldino [.NET/C# MVP]

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.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)


DaveP said:
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 said:
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]
- (e-mail address removed)

Analizer1 said:
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
 
M

MikeJ

Thank you very much for your help
Mike

Nicholas Paldino said:
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.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)


DaveP said:
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 said:
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]
- (e-mail address removed)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top