This is a multi-part message in MIME format.
------=_NextPart_000_0050_01C4C0FF.087D2830
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
you are not specified the .net language you have used
in vb.net say object =3D nothing
in c#, object =3Dnull;
or else you can use the object's Finalize() in vb.net=20
you can call GC.Collect() method which Forces garbage collection
[quoted text, click to view] "Jay Kavimandan" <jkavimandan@gmail.com> wrote in message =
news:eg#Z66muEHA.3200@TK2MSFTNGP14.phx.gbl...
Hello ,
I am using Windows Services created in VsNET2002 in my Project.The =
Memory utilization of Services goes on Incrasing from around 20 Mb to =
200 Mb in no duration.
The services is a Multithreaded and Number of instances are created =
rapidly,so the Objects are created rapidly on the stack.Is there any =
method to Set the Object to Nothing and free up the memory before the =
Garbage collecter will do its work ???
Thanks,
Jay
------=_NextPart_000_0050_01C4C0FF.087D2830
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>you are not specified the .net language =
you have=20
used</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>in vb.net say object =3D =
nothing</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>in c#, object =3Dnull;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>or else you can use the =
object's Finalize() in=20
vb.net </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>you can call GC.Collect() method =
which <FONT=20
face=3D"Times New Roman" size=3D3>Forces garbage=20
collection</FONT></FONT></DIV></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Jay Kavimandan" <<A=20
href=3D"mailto:jkavimandan@gmail.com">jkavimandan@gmail.com</A>> =
wrote in=20
message <A=20
=
href=3D"news:eg#Z66muEHA.3200@TK2MSFTNGP14.phx.gbl">news:eg#Z66muEHA.3200=
@TK2MSFTNGP14.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Hello ,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am using Windows =
Services created in=20
VsNET2002 in my Project.The Memory utilization of Services goes =
on=20
Incrasing from around 20 Mb to 200 Mb in no duration.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The services is a Multithreaded and =
Number of=20
instances are created rapidly,so the Objects are created rapidly on =
the=20
stack.Is there any method to Set the Object to Nothing and free up the =
memory=20
before the Garbage collecter will do its work ???</FONT></DIV><FONT =
face=3DArial=20
size=3D2>
<DIV><BR>Thanks,<BR>Jay</DIV>
<DIV> </DIV>
<DIV></FONT> </DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0050_01C4C0FF.087D2830--