Connecting Tech Pros Worldwide Forums | Help | Site Map

AppDomain

Kevin L
Guest
 
Posts: n/a
#1: Jun 27 '08
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



Tom Shelton
Guest
 
Posts: n/a
#2: Jun 27 '08

re: AppDomain


On 2008-05-07, Kevin L <no_spam@not_real_email.comwrote:
Quote:
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?

--
Tom Shelton
Kevin L
Guest
 
Posts: n/a
#3: Jun 27 '08

re: AppDomain


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.




"Tom Shelton" <tom_shelton@YOUKNOWTHEDRILLcomcast.netwrote in message
news:%23NGrYKGsIHA.3780@TK2MSFTNGP03.phx.gbl...
Quote:
On 2008-05-07, Kevin L <no_spam@not_real_email.comwrote:
Quote:
>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?
>
--
Tom Shelton

Cor Ligthert[MVP]
Guest
 
Posts: n/a
#4: Jun 27 '08

re: AppDomain


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


"Kevin L" <no_spam@not_real_email.comschreef in bericht
news:O2hMxnGsIHA.5580@TK2MSFTNGP04.phx.gbl...
Quote:
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.
>
>
>
>
"Tom Shelton" <tom_shelton@YOUKNOWTHEDRILLcomcast.netwrote in message
news:%23NGrYKGsIHA.3780@TK2MSFTNGP03.phx.gbl...
Quote:
>On 2008-05-07, Kevin L <no_spam@not_real_email.comwrote:
Quote:
>>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?
>>
>--
>Tom Shelton
>
>
Mach58
Guest
 
Posts: n/a
#5: Jun 27 '08

re: AppDomain


On Wed, 7 May 2008 12:04:20 -0400, "Kevin L"
<no_spam@not_real_email.comwrote:
Quote:
>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/clrcodegenerat...t-to-ngen.aspx
http://msdn.microsoft.com/en-us/magazine/cc163610.aspx

Mach
Closed Thread