Microsoft KB Archive/267181

= FIX: MSMQ Triggers Leaks Memory When You Invoke An Action =

Article ID: 267181

Article Last Modified on 2/23/2007

-

APPLIES TO


 * Microsoft Message Queuing 2.0
 * Microsoft Message Queue Server 1.0

-



This article was previously published under Q267181



SYMPTOMS
The Microsoft Message Queuing (MSMQ) Triggers service leaks approximately 300 bytes of memory each time an action is invoked for a Trigger Rule. This leak occurs when the rule invokes a COM object, and when the rule invokes an executable.



CAUSE
The following are two possible causes for this problem:


 * Two instances of each object for the action are created, but only one is removed.
 * Memory that is allocated for parameters to be passed to an invoked COM object that uses the _variant_t type is not properly recovered.



RESOLUTION
This problem was corrected in 1.1.0.15 version MSMQ Triggers for Windows NT 4.0 and Windows 2000.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

