>> can a service run from inside a custom CLR host in the first place?
Sure, but once you decide to host the runtime, you'll also want to implement
the service plumbing in unmanaged code to get the WaitHint, service
description, etc. goodies, missing in the framework...

Cheers,

Stoyan Damov

-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of SteveC
Sent: 08/03/2003 20:45
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Re Re: windows service memory footprint


On a related note, I wonder how the service would respond to GC
requests, etc if the service was running inside a custom CLR host.  Hey,
can a service run from inside a custom CLR host in the first place?



----orig

 From:    Brandon Manchester <[EMAIL PROTECTED]>
 Subject: Re: windows service memory footprint

I may be misstating this so if I am please correct me.

There are 2 levels that objects are kept at in regards to garbage
collection. The actual name of these "levels" evades me at this moment
so I will just refer to them as level 1 and 2. With that said, the first
level is where all objects are at until the GC runs. When the GC runs it
checks to see if there are any references to the object in question. If
there is a reference then it will not destroy and collect the object(s)
at that time, what it does it pushes that object to the 2nd level. When
object(s) are in the 2nd level the GC does not look at them until memory
becomes an issue for other processes. I believe this is what Ian was
talking about.

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to