FIX: A minidump file generation is slow and the size of the file is larger than expected when the information that the file collects is not of the MiniDumpWithFullMemory type in the .NET Framework 2.0

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

SYMPTOMS

Consider this scenario. You try to generate a minidump file for a .NET Framework 2.0 Service Pack 2 (SP2)-based application. The information that the file collects is not of the MiniDumpWithFullMemory type. In this scenario, you notice that it takes a long time for the file to be generated. For example, it takes several hours to generate a minidump file when you use Microsoft SharePoint. Additionally, the size of the resulting file is larger than expected.

CAUSE

This problem occurs because the EnumMemoryRegions method that enumerates specified areas of memory uses an incorrect size. The MiniDumpWriteDump API only calls this method if you do not use the MiniDumpWithFullMemory type in the MINIDUMP_TYPE enumeration.

RESOLUTION

Hotfix Replacement Information

The hotfix that corresponds to KB972848 has been superseded with the hotfix KB981574, which contains all fixes that were previously included in KB972848. You should use the hotfix KB981574 to fix the issues described in KB972848. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
981574 The splash screen stays open longer than usual when you try to start Excel on a computer that has the .NET Framework 3.5 SP1 installed

WORKAROUND

To work around this problem, use the MiniDumpWithFullMemory type to collect information in the dump file.

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 the type of information in a dump file, visit the following Microsoft Web site:
http://msdn.microsoft.com/en-us/library/ms680519(VS.85).aspx

Properties

Article ID: 972848 - Last Review: August 4, 2010 - Revision: 4.0
APPLIES TO
  • Microsoft .NET Framework 3.5 Service Pack 1
  • Microsoft .NET Framework 2.0 Service Pack 2
Keywords: 
kbHotfixServer kbexpertiseadvanced kbqfe kbsurveynew KB972848

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