Microsoft KB Archive/279717

= Memory Leak in Db2serv.exe =

Article ID: 279717

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft SNA Server 4.0 Service Pack 3

-



This article was previously published under Q279717



SYMPTOMS
A memory leak in the Db2serv.exe file may be observed, as monitored by Performance Monitor (PerfMon) or Task Manager, when you run a simple Visual Basic application that does the following:
 * 1) Opens a connection (leaves it open).
 * 2) Opens a command object.
 * 3) Runs 1000 iterations that consist of calling a Stored Procedure (SP) by using the DB2OLEDB driver.
 * 4) Closes the command object.
 * 5) When all iterations are done, it closes the connection object.



CAUSE
Memory that was being allocated by the agent for the output parameter is not being released correctly.



RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft SNA Server version 4.0 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later for both SNA Server 4.0 and Host Integration Server 2000:

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.

Host Integration Server 2000
To resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to Obtain the Latest Host Integration Server 2000 Service Pack



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Host Integration Server 2000 Service Pack 1.

Additional query words: db2serv memory leak oledb HIS 2000

Keywords: kbhotfixserver kbqfe kbbug kbfix kbhostintegserv2000presp1fix kbhostintegserv2000sp1fix KB279717

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.