I need some suggestions as I am trying to isolate a problem in some very old code in old machine. Rewriting is out of the question. I only have small pieces of the whole puzzle. Therefore, please bear with me!!
1. We have com+ server running vb6 classes in one instance without recycling setting. It was running fine for years in win2003 OS within virtual machine.
2. In the last few months, the vb6 classes running in com+ server reported "out of memory" error. Once this error occurred, some methods (in different vb6 classes) always reported this error and others are running fine. Physical memory and dllhost.exe memory usage are both reasonable. The only way to fix it is to recycle the com+ server application.
3. We are in the midst of pinpointing the line in vb6 raising the problem. I reviewed those methods reporting errors. Following is what caught my eyes. They both invoke CCW coded in .net 2.0 framework dll. At least one the dll has very strong error reporting, but there is reported .net error correlated in time with the vb6 "out of memory" error.
4. There is a lot of info in the internet about CCW mscoree.dll not disposing .net objects as expected. Will such issue cause my observation inside a long running com+ server application?
Thanks in advance