473,327 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

AppDomain

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
Jun 27 '08 #1
4 1142
On 2008-05-07, Kevin L <no_spam@not_real_email.comwrote:
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
Jun 27 '08 #2
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" <to*********@YOUKNOWTHEDRILLcomcast.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
On 2008-05-07, Kevin L <no_spam@not_real_email.comwrote:
>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

Jun 27 '08 #3
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:O2**************@TK2MSFTNGP04.phx.gbl...
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" <to*********@YOUKNOWTHEDRILLcomcast.netwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>On 2008-05-07, Kevin L <no_spam@not_real_email.comwrote:
>>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

Jun 27 '08 #4
On Wed, 7 May 2008 12:04:20 -0400, "Kevin L"
<no_spam@not_real_email.comwrote:
>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
Jun 27 '08 #5

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

Similar topics

2
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
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
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
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
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
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
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
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
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
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.