GC.Collect(), called from within the service's process; GC being the static garbage collector class. You should read the documentation thoroughly so that you understand what it is you are doing.
As mentioned before, this will not clean up unmanaged resources which you will have to manage yourself. Erik -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Ding Sent: Wednesday, September 05, 2007 9:35 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: l immediately release any unneeded memory Is there some sort of .NET call that will immediately release any unneeded memory for service process? Thanks for your help Tracy Ding =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This list is hosted by DevelopMentor=AE http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com