AppDomain

  • Thread starter Thread starter Kevin L
  • Start date Start date
K

Kevin L

I have an application (Winforms application) that allocates quite a bit of
memory (like 45mb). This application is destined to run in a Terminal Server
environment by multiple users at the same time.

I would like to reduce the footprint as much as possible.

I have read a little about AppDomain, but I am have no idea how to implement
it for my application.

Any AppDomain for Dummies help would be greatly appreciated.

VS2005 VB.NET
 
I have an application (Winforms application) that allocates quite a bit of
memory (like 45mb). This application is destined to run in a Terminal Server
environment by multiple users at the same time.

I would like to reduce the footprint as much as possible.

I have read a little about AppDomain, but I am have no idea how to implement
it for my application.

Any AppDomain for Dummies help would be greatly appreciated.

VS2005 VB.NET

What exactly were you thinking of doing? There are issues surrounding
the use of appdomains, that really depend on what kind of architecture
your planning?
 
Hi Tom,

Thanks for the quick reply.

From what I could tell, it seems (again, I am completely guessing here),
that AppDomains would potentially reduce the memory footprint of my
application.

The application itself is a TimeClock application (Punch In/Out etc). It
connects to a SQL db. Nothing super complicated, but it has many screens,
grids etc with information.

Am I wrong to assume that this will potentially free up a considerable
amount of memory on my Terminal Server? Currently, this is installed on a
Test Terminal server, and each TimeClock process is taking between 35 to 45
mb of memory.
 
Kevin,

In my idea has this very few (or probably nothing) to do with the program
language Visual Basic, maybe you can try it in a Server newsgroup.

Cor
 
I have an application (Winforms application) that allocates quite a bit of
memory (like 45mb). This application is destined to run in a Terminal Server
environment by multiple users at the same time.

I would like to reduce the footprint as much as possible.

I have read a little about AppDomain, but I am have no idea how to implement
it for my application.

Any AppDomain for Dummies help would be greatly appreciated.

VS2005 VB.NET

Take a look at ngen. It *might* help in this situation.

http://blogs.msdn.com/clrcodegeneration/archive/2007/09/15/to-ngen-or-not-to-ngen.aspx
http://msdn.microsoft.com/en-us/magazine/cc163610.aspx

Mach
 
Back
Top