Y
yehoshua
Is there anyway to explicitly tell the garbage collector you are done
with an object? In my app I have a point where I am sure there should
be no references to an set of objects (well i remove what i assume is
the last reference to them) and I want them to be GCed. But for some
reason my app is leaking memory and that is the only place I can think
of that something could be going wrong. I want to just say
object.GetRidOfThisStupidObject() or GetRidOfThisStupidObject(object)
and have it do its thing, regardless of weather or not there are other
references to it (not that I can imagine where they are). Unfortunatly
my app is a service too so memory leaks just wont do.
Thanks,
Josh Powers
with an object? In my app I have a point where I am sure there should
be no references to an set of objects (well i remove what i assume is
the last reference to them) and I want them to be GCed. But for some
reason my app is leaking memory and that is the only place I can think
of that something could be going wrong. I want to just say
object.GetRidOfThisStupidObject() or GetRidOfThisStupidObject(object)
and have it do its thing, regardless of weather or not there are other
references to it (not that I can imagine where they are). Unfortunatly
my app is a service too so memory leaks just wont do.
Thanks,
Josh Powers