FIX: OLE Automation BSTR caching will cause memory leak sources in Windows 2000 (139071)
The information in this article applies to:
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
This article was previously published under Q139071 SUMMARYThis article describes the following about this hotfix release: - The issues that are fixed by the hotfix package.
- The prerequisites that are required to install the hotfix package.
- Whether you must restart the computer after you install the hotfix package.
- Whether the hotfix package is replaced by any other hotfix package.
- Whether you must make any registry changes.
- The files that are contained in the hotfix package.
SYMPTOMS Automation (previously called OLE Automation and ActiveX Automation) caches the space allocated for BSTR strings.
This may cause IMallocSpy to attribute memory leaks to the wrong BSTR user in
an application that uses Automation's BSTR strings. The correct source of the leak can be found by disabling Automation's cache by setting the environment variable OANOCACHE=1 before running the application. In many server-based applications, the BSTR cache is not required. There is a hotfix available to disable BSTR caching on Windows 2000 computers. Windows XP and Windows Server 2003 do not require the hotfix to disable BSTR caching.RESOLUTIONA supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem. To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. PrerequisitesYou must have installed Windows 2000 Service Pack 4 (SP4) to apply this hotfix. Restart informationYou must restart the computer after you apply this hotfix. Registry informationYou do not have to change the registry. Hotfix file informationThis hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.
The English version of this hotfix has the file attributes (or later file attributes) 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. |
Asycfilt.dll | 2.40.4528.0 | 143,632 | 11-Sep-2005 | 13:05 | x86 | Oleaut32.dll | 2.40.4528.0 | 631,056 | 11-Sep-2005 | 13:05 | x86 | Olepro32.dll | 5.0.4528.0 | 164,112 | 11-Sep-2005 | 13:05 | x86 | Stdole2.tlb | 2.40.4528.0 | 16,896 | 23-Aug-2005 | 02:13 | |
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684
Description of the standard terminology that is used to describe Microsoft software updates
Modification Type: | Minor | Last Reviewed: | 7/26/2006 |
---|
Keywords: | kbHotfixServer kbQFE kbExpertiseAdvanced kbfix kbAutomation kbpubtypekc KB139071 kbAudDeveloper kbAudITPRO |
---|
|