"Out of memory" error when you export to circular files in Windows 7 or in Windows Server 2008 R2

Article translations Article translations
Article ID: 2525380 - View products that this article applies to.
Expand all | Collapse all

On This Page

Symptoms

Consider the following scenario:
  • You have a computer that is running Windows 7 or Windows Server 2008 R2.
  • You try to export to some circular files that are used by the Event Tracing for Windows (ETW) feature.
In this scenario, you cannot export to these files, and you receive the following error message:
out of memory
For example, consider the following scenario:
  • You run the following command to set the cluster log size to 512 megabytes (MB):
    cluster log /size:512
  • You run the following command to export the trace to a text file:
    cluster log /g
In this scenario, you receive the error message. Because of this issue, the memory usage of the Cprepsrv.exe process is high. Additionally, the computer stops responding because memory is insufficient.

Cause

This issue occurs because the ETW engine handles finalized files incorrectly.

When the ETW engine handles some circular files that have finalized and non-finalized files, the buffer count value becomes very large. However, this incorrect buffer count value is used to allocate memory. Therefore, you receive the error message that is mentioned in the "Symptoms" section.

Resolution

Hotfix information

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

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, submit a request to 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 Web site:
http://support.microsoft.com/contactus/?ws=support
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.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 Service Pack 1 (SP1)
For more information about how to obtain a Windows 7 or a Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    Collapse this tableExpand this table
    VersionProductSR_LevelService branch
    6.1.760 0 . 20xxxWindows 7 and Windows Server 2008 R2RTMLDR
    6.1.760 1 . 21xxxWindows 7 and Windows Server 2008 R2SP1LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.1.7600.20928640,00019-Mar-201106:52x86
Advapi32.dll6.1.7601.21687640,51219-Mar-201106:53x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.1.7600.20928877,56819-Mar-201107:32x64
Advapi32.dll6.1.7601.21687878,08019-Mar-201107:38x64
Advapi32.dll6.1.7600.20928640,00019-Mar-201106:52x86
Advapi32.dll6.1.7601.21687640,51219-Mar-201106:53x86
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Advapi32.dll6.1.7600.209281,564,16019-Mar-201106:43IA-64
Advapi32.dll6.1.7601.216871,564,16019-Mar-201106:48IA-64
Advapi32.dll6.1.7600.20928640,00019-Mar-201106:52x86
Advapi32.dll6.1.7601.21687640,51219-Mar-201106:53x86

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 about software update terminology, 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
For more information about a similar issue in Windows Server 2008 or in Windows Vista, click the following article number to view the article in the Microsoft Knowledge Base:
2257986 You receive the "out of memory" error message when you try to export to circular files in Windows Server 2008 or in Windows Vista

Additional file information

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameUpdate.mum
File versionNot applicable
File size2,773
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameX86_56f2164f922b2f8537785abcba4fac65_31bf3856ad364e35_6.1.7601.21687_none_ee94589842885ebe.manifest
File versionNot applicable
File size696
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameX86_f75d57ff99dca7655288df83c5252bb6_31bf3856ad364e35_6.1.7600.20928_none_485b6566fa29ab9f.manifest
File versionNot applicable
File size696
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameX86_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7600.20928_none_e3ec2e7d00bf840d.manifest
File versionNot applicable
File size2,719
Date (UTC)19-Mar-2011
Time (UTC)07:22
PlatformNot applicable
File nameX86_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7601.21687_none_e590a9cafe178121.manifest
File versionNot applicable
File size2,719
Date (UTC)19-Mar-2011
Time (UTC)07:20
PlatformNot applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameAmd64_3144ba4d9040a7e1feab72a1e3b0ebc4_31bf3856ad364e35_6.1.7600.20928_none_8350571323769fab.manifest
File versionNot applicable
File size1,040
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameAmd64_56f2164f922b2f8537785abcba4fac65_31bf3856ad364e35_6.1.7601.21687_none_4ab2f41bfae5cff4.manifest
File versionNot applicable
File size698
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameAmd64_8014512d693bc0ef97c6e78d60ef6e04_31bf3856ad364e35_6.1.7600.20928_none_4cc5c8743cf574aa.manifest
File versionNot applicable
File size700
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameAmd64_84924b498e7ec05493e1d22793b6dd48_31bf3856ad364e35_6.1.7601.21687_none_204a572a8aa3532c.manifest
File versionNot applicable
File size1,040
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameAmd64_c7bacbeccb6d5e63576fd2c03142b861_31bf3856ad364e35_6.1.7601.21687_none_e1118973af1d173a.manifest
File versionNot applicable
File size700
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameAmd64_f75d57ff99dca7655288df83c5252bb6_31bf3856ad364e35_6.1.7600.20928_none_a47a00eab2871cd5.manifest
File versionNot applicable
File size698
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameAmd64_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7600.20928_none_400aca00b91cf543.manifest
File versionNot applicable
File size2,723
Date (UTC)19-Mar-2011
Time (UTC)08:18
PlatformNot applicable
File nameAmd64_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7601.21687_none_41af454eb674f257.manifest
File versionNot applicable
File size2,723
Date (UTC)19-Mar-2011
Time (UTC)08:13
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size4,059
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameX86_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7600.20928_none_e3ec2e7d00bf840d.manifest
File versionNot applicable
File size2,719
Date (UTC)19-Mar-2011
Time (UTC)07:22
PlatformNot applicable
File nameX86_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7601.21687_none_e590a9cafe178121.manifest
File versionNot applicable
File size2,719
Date (UTC)19-Mar-2011
Time (UTC)07:20
PlatformNot applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameIa64_2f59fc48dd07386c526633d65501fb87_31bf3856ad364e35_6.1.7600.20928_none_65e5f6455878c21f.manifest
File versionNot applicable
File size698
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameIa64_56f2164f922b2f8537785abcba4fac65_31bf3856ad364e35_6.1.7601.21687_none_ee95fc8e428667ba.manifest
File versionNot applicable
File size697
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameIa64_c79b6fad3ef91b5958151a25bde7f91e_31bf3856ad364e35_6.1.7601.21687_none_2c4d549af0405275.manifest
File versionNot applicable
File size698
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameIa64_f75d57ff99dca7655288df83c5252bb6_31bf3856ad364e35_6.1.7600.20928_none_485d095cfa27b49b.manifest
File versionNot applicable
File size697
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameIa64_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7600.20928_none_e3edd27300bd8d09.manifest
File versionNot applicable
File size2,721
Date (UTC)19-Mar-2011
Time (UTC)08:20
PlatformNot applicable
File nameIa64_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7601.21687_none_e5924dc0fe158a1d.manifest
File versionNot applicable
File size2,721
Date (UTC)19-Mar-2011
Time (UTC)08:15
PlatformNot applicable
File nameUpdate.mum
File versionNot applicable
File size2,169
Date (UTC)21-Mar-2011
Time (UTC)21:49
PlatformNot applicable
File nameX86_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7600.20928_none_e3ec2e7d00bf840d.manifest
File versionNot applicable
File size2,719
Date (UTC)19-Mar-2011
Time (UTC)07:22
PlatformNot applicable
File nameX86_microsoft-windows-advapi32_31bf3856ad364e35_6.1.7601.21687_none_e590a9cafe178121.manifest
File versionNot applicable
File size2,719
Date (UTC)19-Mar-2011
Time (UTC)07:20
PlatformNot applicable

Properties

Article ID: 2525380 - Last Review: December 27, 2012 - Revision: 2.0
Applies to
  • Windows 7 Professional
  • Windows 7 Enterprise
  • Windows 7 Ultimate
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Foundation
  • Windows Server 2008 R2 for Itanium-Based Systems
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix kbsurveynew kbexpertiseinter KB2525380

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com