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.

Reply via email to