FIX: MSMQ Triggers Leaks Memory When You Invoke An Action (267181)



The information in this article applies to:

  • Microsoft Message Queuing 2.0
  • Microsoft Message Queue Server (MSMQ) 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.

REFERENCES

The latest version of the MSMQ Triggers Service may be downloaded from the MSMQ website located at:

Please see the MSMQ Triggers Documentation for more information.

Modification Type:MajorLast Reviewed:11/3/2003
Keywords:kbBug kbfix kbMSMQ100fix kbMSMQ200fix KB267181