There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Smart Thread Pool slow memory leak
This is an issue I have been experiencing for some time. I have noticed it also mentioned on CodeProject as well. I’m not entirely sure what’s causing it. I have tried to pare it down in a smaller project to give you something to work from.
Using this project I noticed in a roughly 12 hour period the process memory usage go from about 32 MB of ram to about 1GB.
It is entirely possible that there is an issue with my implementation and maybe I’m missing something….however on the off chance I’m not hopefully this will help.
Note: the project included is a simple console app that runs bogus worker threads infinitely. Also, my development environment is Windows XP (32bit) and VS 2008 SP1.