Memory Leak in COMTI When Using User-Defined Types in User-Defined Types (324555)
The information in this article applies to:
- Microsoft Host Integration Server 2000
This article was previously published under Q324555 SYMPTOMS
If Microsoft COM Transaction Integrator (COMTI) is configured to use a "Customer Information Control System (CICS) or Information Management System (IMS) by using TCP/IP" Remote Environment (RE), and a client application repeatedly calls the COM+ component, which in turn instantiates COMTI objects by using user-defined types, eventually the application may fail, and then return the following error message:
"Method ~ of Object ~ failed"
NOTE: Other REs may exhibit the same problem.
If you use Microsoft Windows Performance Monitor to log data for the Private Bytes and Working Set of the Process object, a memory leak occurs.
CAUSE
The problem is caused by having Occurs Depending On (ODO) arrays in a user-defined type. Specifically, a call is made to obtain a VarDesc structure from a type library, and a free method call is never issued to release the memory back to the operating system.
RESOLUTION
To resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
328152 How to Obtain the Latest Host Integration Server 2000 Service Pack
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date Time Version Size File name
--------------------------------------------------
20-Jun-2002 08:36 5.0.0.865 135,440 Convert.dll
NOTE: Because of file dependencies, the most recent fix that contains the earlier files may also contain additional files. STATUSMicrosoft has confirmed that this is a problem in Host Integration Server 2000.
Modification Type: | Minor | Last Reviewed: | 4/7/2005 |
---|
Keywords: | kbbug kbfix kbQFE KB324555 kbAudDeveloper |
---|
|