FIX: The Host Integration Server 2009 Managed Provider for DB2 exhibits a memory leak when the Managed Provider for DB2 calls static SQL packages that have parameters or result sets


Consider the following scenario:
  • You have an application that uses the Microsoft Host Integration Server 2009 Managed Provider for DB2 to access an IBM DB2 system.
  • The Managed Provider for DB2 is used to call static SQL packages that have parameters or result sets that resemble the following.

In this scenario, you may notice that the memory usage of the application that hosts the Managed Provider for DB2 increases significantly over time. Additionally, the memory is not released while the application is running.


This problem occurs when the Managed Provider for DB2 does not correctly release column and parameter descriptions when the static SQL package is released.


To resolve this problem, apply this hotfix.

More information about this hotfix

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


You must have Microsoft Host Integration Server 2009 installed to apply this hotfix.

Restart information

You do not have to restart the computer after you apply this hotfix.

File information

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 item in Control Panel.
Microsoft Host Integration Server 2009 (x32-based)
File nameFile versionFile sizeDateTimePlatform
Microsoft Host Integration Server 2009 (x64-based)
File nameFile versionFile sizeDateTimePlatformService branch
Db2oledb.dll8.0.3765.2763,21613-Jul-201019:16x64Not Applicable
Drdaresync.exe8.0.3765.2476,50413-Jul-201019:15x86Not Applicable
Microsoft.hostintegration.adapters.msdb2.runtime.dll8.0.3765.279,78413-Jul-201019:15x86Not Applicable
Microsoft.hostintegration.dataaccesslibrary.dll8.0.3765.21,279,89613-Jul-201019:15x86Not Applicable
Microsoft.hostintegration.msdb2client.dll8.0.3765.2239,50413-Jul-201019:15x86Not Applicable
Msdrda.dll8.0.3765.21,511,76013-Jul-201019:16x64Not Applicable
Snanls.dll8.0.3765.2128,33613-Jul-201019:16x64Not Applicable


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Article ID: 2281428 - Last Review: Sep 7, 2010 - Revision: 1