Microsoft KB Archive/897700

= FIX: Error message when you use the ExecuteToStream method from the SqlXmlCommand object in the Microsoft.Data.SQLXML namespace: &quot;Out of memory&quot; =

Article ID: 897700

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft SQLXML 3.0

-





SYMPTOMS
When you use the ExecuteToStream method from the SqlXmlCommand object in the Microsoft.Data.SQLXML namespace, you receive an error message from the returned stream object or file. The error message is similar to the following:

E_OUTMEMORY - &quot;Out Of Memory&quot;

Additionally, the application memory usage may increase to 1.5 gigabytes (GB) or more. After the application memory usage increases, the application may stop responding without any Microsoft .NET exceptions.

This problem occurs when the following conditions are true:
 * You use Microsoft SQLXML 3.0 Service Pack (SP2) or Microsoft SQLXML 3.0 Service Pack (SP3).
 * You use the Microsoft.Data.SQLXML namespace.
 * The updategram file is 2.5 megabytes (MB) or larger.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that this article describes. Apply this hotfix only to systems that are experiencing this specific problem.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Hotfix file information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain 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.

Hotfix installation information
To apply this hotfix, follow these steps:
 * 1) Close all the applications that use the Sqlxml3.dll file.
 * 2) Make a backup copy of the Sqlxml3.dll file.
 * 3) Unzip the Sqlxml30-KB897700-3.30.3458.0-x86.zip file.

The resulting file is the Sqlxml30-KB897700-3.30.3458.0-x86.exe file.
 * 1) Run the Sqlxml30-KB897700-3.30.3458.0-x86.exe file.
 * 2) Restart the computer.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
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

Additional query words: sqlxml updategram memory outofmemory

Keywords: kbbug kbfix kbtshoot kbqfe kbpubtypekc kbhotfixserver KB897700

-

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

© Microsoft Corporation. All rights reserved.