Matt, I didn't check for that specifically, but yes there is usually a
list of application folders in the executor dat folder which seems to be
getting cleaned up now. The main issue I've been running into is a
memory leak related to using Code Dom in my GThreads, so not really an
Alchemi issue, except that those app domains are never unloaded and I
think they would add up over time even without the Code Dom leak.
Unloading the app domain after the application stops fixes both issues. 

 

Dusty

 

 

  _____  

From: Matt Valerio [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 19, 2007 9:30 AM
To: Dusty Candland - eonBusiness
Cc: [email protected]
Subject: Re: [Alchemi-developers] Unloading AppDomain for multi use
application on stop

 

Dusty, have you noticed that there are application/thread folders being
left on the Executors after everything finishes?

 

I wouldn't see any reason why we shouldn't use that code.

 

-Matt

 


 

On 9/19/07, Dusty Candland - eonBusiness
<[EMAIL PROTECTED]> wrote: 

All, any reason we shouldn't unload the application app domain when
stopping a multi-use application? 



In GApplication.Stop:

{

           StopApplication();

           Manager.Owner_StopApplication(Credentials, _Id);

+                if (_MultiUse)

+                 Manager.Owner_CleanupApplication (Credentials, _Id);

}



Seems like that's the expected behavior, but maybe there's some
experience to suggest otherwise. If there are no objections I'll
check-in the changes.



Thanks,

Dusty



------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alchemi-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-developers

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alchemi-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-developers

Reply via email to