FIX: Error message when you use the ExecuteToStream method from the SqlXmlCommand object in the Microsoft.Data.SQLXML namespace: "Out of memory" (897700)



The information in this article applies to:

  • 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 - "Out Of Memory"
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.

RESOLUTION

Hotfix information

A 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.

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.
File nameFile versionFile sizeDateTimePlatform
Sqlxml3.dll3.30.3458.0405,50418-Apr-200521:27x86

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.
  4. Run the Sqlxml30-KB897700-3.30.3458.0-x86.exe file.
  5. Restart the computer.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" 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


Modification Type:MinorLast Reviewed:7/25/2006
Keywords:kbBug kbfix kbtshoot kbQFE kbHotfixServer kbpubtypekc KB897700 kbAudITPRO kbAudDeveloper