Heap Memory / COM Object Limits
-
I've just fixed a bug in one of our internal programs that was failing to release a COM interface (IXMLDOMNode returned by IXMLDOMDocument::createNote if you're interested) which resulted in a memory leak. The leak was occuring 192 times every 15 seconds the program was running and, given that it's a background task designed to run continously, you can seen the number of leaks quickly rises to a huge number (over 46000 per hour). What I need to know is, should a Windows 2008 Terminal Server be able to handle that kind of problem and what resouce limits could the server have been hitting? The private bytes count was only up to 200MB which is nothing when the machine has 14GB. We've had some strange slow downs on that particular server (to the point where it needs to be restarted) and I'm trying to work out if this particular program could have been the cause.