B
Bijoy Naick
Just wondering if anyone has experienced any issues with garbage collection
in .net. We developed an application using VB .NET; many of the pages made
db calls.
One of the developers forgot to close the connection(s) and DataReader
objects. We found that once the site recieved a large number of hits, the
server died on us and memory usage was ridiculously high. Since that, we've
closed all the connections and datareaders and the app works great..
Should the .NET GC not have managed all of this for us?
BTW: I know its good coding practice to close everything you open.. but just
wondering IF GC does this or not..
Bijoy
in .net. We developed an application using VB .NET; many of the pages made
db calls.
One of the developers forgot to close the connection(s) and DataReader
objects. We found that once the site recieved a large number of hits, the
server died on us and memory usage was ridiculously high. Since that, we've
closed all the connections and datareaders and the app works great..
Should the .NET GC not have managed all of this for us?
BTW: I know its good coding practice to close everything you open.. but just
wondering IF GC does this or not..
Bijoy