Consider an ASP.NET application with a connection pool memory leak problem (where connections, for example, do not close correctly).
Does the application pool recycle the pool connection pool (so more connections can be made)?
If the connections remain in memory until the garbage collector deletes them, will this happen when the application pool restarts (or can they leave them further)? I also understand that the garbage collector can clean them at any time, but are still in use and cannot be collected until restarting reset or application pool?
I am looking at a system in which the ultimate goal, obviously, is to correctly correct the code for proper connection management, and I am trying to get more information about the garbage collection / application process.
source
share