Re: services
- From: "Andrew Faust" <andrew@xxxxxxxxxxxxxxx>
- Date: Sun, 11 Nov 2007 20:56:03 -0700
I just wanted to add that if you are using any resources like files, sockets or database connections you'll want to make sure you close them explicitly instead of waiting for the GC to take care of it.
--
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
"Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:9ABED07C-450D-4E1E-A707-9F9DDBACA1E6@xxxxxxxxxxxxxxxx
Analizer1,
No, once you release the references to the objects you are no longer using, the GC will act when there is enough memory pressure to warrant it.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
"Analizer1" <vettes_n_jets@xxxxxxxxx> wrote in message news:LkJZi.19783$Pv2.11022@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxi have some services im finishing up
during there operation 24/7
should there be some doevents() so the garbage collector
can do its thing...
Im not sure how all this works
tks
.
- Follow-Ups:
- Re: services
- From: Analizer1
- Re: services
- References:
- services
- From: Analizer1
- services
- Prev by Date: Re: Post-Increment and Pre-Increment Overloading
- Next by Date: Re: C# EXE and website integration?
- Previous by thread: Re: services
- Next by thread: Re: services
- Index(es):
Relevant Pages
|