BUG: Memory Leak When Transactional Method Fails Before Connect

Last reviewed: March 20, 1998
Article ID: Q182652
The information in this article applies to:
  • Microsoft COM Transaction Integrator for CICS and IMS version 1.0 included with SNA Server version 4.0

SYMPTOMS

COMTI state machines are not reused if an application method invocation fails before a connection is established. A memory leak can be observed by the use of monitoring techniques. Memory used by Mtx.exe grows by about 6 kilobytes PER METHOD invocation.

NOTE: This leak only happens on transactional calls.

CAUSE

This memory leak can occur when a COMTI application is in the midst of a transaction and there is something wrong with its Remote Environment (RE) configuration or the RE is inactive. You can correct the RE while the transaction is in-flight and go ahead with repetitive method invocations within the same Transaction Server process. Meanwhile, COMTI state machines have been allocated for the unsuccessful method invocations that occurred before the RE was corrected. These unusable state machines are left intact, using memory and being examined and rejected on each method invocation. So, there is more processing overhead incurred in addition to the memory leak.

WORKAROUND

Correct the erroneous RE and stop/start all Microsoft Transaction Server server processes.

STATUS

Microsoft has confirmed this to be a problem in Microsoft COM Transaction Integrator for CICS and IMS version 1.0. A supported fix is now available for SNA Server version 4.0, but has not been fully regression-tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.

Keywords          : kbbug1.00 CTIAdmin CTIDeploy CTIPerformance CTIRE kbfix1.00
Version           : WINDOWS:1.0
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbfix


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 20, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.