Consultor Eletrônico



Kbase P19742: Invoking addChild method from MSXML2.DLL causes memory leak
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/10/2008
Status: Verified

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

Creating XML documents using Microsoft XML COM object (MSXML2.DLL)

Memory is leaked whenever the addChild() method is invoked

Invoking the addChild() method in Visual Basic or Delphi does not cause a memory leak

CAUSE:

BUG# 20030220-002

CAUSE:

This is a known issue - when a RELEASE OBJECT is invoked against a COM-HANDLE variable a bug in Microsoft's VariantClear() API causes the Microsoft Release() API to not be invoked when the COM-HANDLE variable is a combination of the VT_DISPATCH and VT_BYREF types

FIX:

Upgrade to Progress 9.1D06 or later Progress release.

If you are on 9.1C / Win32, install the latest 9.1C patch.