|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
Article ID: 974065 - Last Review: October 1, 2010 - Revision: 4.0 A hotfix is available that resolves the System.InsufficientMemoryException exception and enhances the heap balancing on a computer that has over 8 processors for the .NET Framework 2.0 Service Pack 2IntroductionThis article describes a hotfix that resolves the following issues. Issue 1When you are running a .NET Framework 2.0-based application, the application crashes. If you debug the application, you notice that a System.InsufficientMemoryException exception
is thrown. Then, you receive an error message that resembles the
following: Failed to allocate a managed memory buffer of
<x> bytes. The amount of available memory may be low. Issue 2You run a .NET Framework 2.0-based application on a computer that has more than 8 logical processors. The computer uses the server garbage collector. In this case, you may experience a memory issue caused by an unbalanced workload in different processors. For example, the application runs slower than when you run the application on a computer that has 8 logical processors. Cause of Issue 1This issue occurs intermittently when the application tries to allocate memory for a large object in a large object heap (LOH). The error message is triggered when the following conditions are true: - The heap cannot provide sufficient memory to satisfy the LOH allocation request.
- A concurrent garbage collection is in progress at the same time.
Cause of Issue 2This issue occurs because garbage collector heap balancing for small object allocations is not performed diligently on computers that have more than 8 logical processors. Because of this, more garbage collections are triggered to maintain heap balancing when there is an unbalanced workload in different processors. Therefore, the application spends more time on garbage collection. Hotfix informationA supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix. To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website: 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. Prerequisites You must have the .NET Framework 2.0 Service Pack 2 or the .NET Framework 3.5 Service Pack 1 installed to apply this hotfix. Restart requirement You do not have to restart the computer after you apply this
hotfix. Hotfix replacement information This hotfix does not replace other hotfixes. File information 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 item in Control
Panel. For all supported x86-based versions of Windows Server 2000, of Windows Server 2003, and of Windows XPCollapse this tableExpand this table | File name | File version | File
size | Date | Time | Platform |
|---|
| Mscordacwks.dll | 2.0.50727.4062 | 989,528 | 07-Aug-2009 | 04:40 | x86 | | Mscorlib.dll | 2.0.50727.4062 | 4,550,656 | 07-Aug-2009 | 04:40 | x86 | | Mscorwks.dll | 2.0.50727.4062 | 5,818,704 | 07-Aug-2009 | 04:40 | x86 | | Sos.dll | 2.0.50727.4062 | 388,920 | 07-Aug-2009 | 04:40 | x86 |
For all supported x64-based versions of Windows Server 2000, of Windows Server 2003, and of Windows XPCollapse this tableExpand this table | File name | File version | File
size | Date | Time | Platform |
|---|
| Mscordacwks.dll | 2.0.50727.4062 | 1,758,552 | 07-Aug-2009 | 01:10 | x64 | | Mscorlib.dll | 2.0.50727.4062 | 4,567,040 | 07-Aug-2009 | 01:05 | x64 | | Mscorwks.dll | 2.0.50727.4062 | 10,062,160 | 07-Aug-2009 | 01:08 | x64 | | Sos.dll | 2.0.50727.4062 | 485,192 | 07-Aug-2009 | 01:06 | x64 |
For all supported Itanium-based versions of Windows Server 2000, of Windows Server 2003, and of Windows XPCollapse this tableExpand this table | File name | File version | File
size | Date | Time | Platform |
|---|
| Mscordacwks.dll | 2.0.50727.4062 | 3,085,128 | 07-Aug-2009 | 00:35 | IA-64 | | Mscorlib.dll | 2.0.50727.4062 | 4,009,984 | 07-Aug-2009 | 00:34 | IA-64 | | Mscorwks.dll | 2.0.50727.4062 | 20,172,608 | 07-Aug-2009 | 00:31 | IA-64 | | Sos.dll | 2.0.50727.4062 | 872,760 | 07-Aug-2009 | 00:33 | IA-64 |
For all supported x86-based versions of Windows Vista SP2 and Windows Server 2008 SP2Collapse this tableExpand this table | File name | File version | File size | Date | Time |
|---|
| Mscorlib.dll | 2.0.50727.4426 | 4,550,656 | 03-Dec-2009 | 08:17 | | Mscordacwks.dll | 2.0.50727.4426 | 989,016 | 03-Dec-2009 | 08:17 | | Mscorwks.dll | 2.0.50727.4426 | 5,818,704 | 03-Dec-2009 | 08:18 | | Sos.dll | 2.0.50727.4426 | 388,936 | 03-Dec-2009 | 08:18 |
For all supported x64-based versions of Windows Vista SP2 and Windows Server 2008 SP2Collapse this tableExpand this table | File name | File version | File size | Date | Time |
|---|
| Mscorlib.dll | 2.0.50727.4426 | 4,567,040 | 03-Dec-2009 | 08:17 | | Mscordacwks.dll | 2.0.50727.4426 | 1,758,552 | 03-Dec-2009 | 08:17 | | Mscorwks.dll | 2.0.50727.4426 | 10,061,136 | 03-Dec-2009 | 08:17 | | Sos.dll | 2.0.50727.4426 | 485,192 | 03-Dec-2009 | 08:17 |
For all supported Itanium-based versions of Windows Server 2008 SP2Collapse this tableExpand this table | File name | File version | File size | Date | Time |
|---|
| Mscorlib.dll | 2.0.50727.4426 | 4,009,984 | 03-Dec-2009 | 08:18 | | Mscordacwks.dll | 2.0.50727.4426 | 3,085,144 | 03-Dec-2009 | 08:18 | | Mscorwks.dll | 2.0.50727.4426 | 20,173,136 | 03-Dec-2009 | 08:18 | | Sos.dll | 2.0.50727.4426 | 872,776 | 03-Dec-2009 | 08:18 |
For all supported x86-based versions of Windows 7.0Collapse this tableExpand this table | File name | File version | File size | Date | Time |
|---|
| Mscorlib.dll | 2.0.50727.5001 | 4,550,656 | 03-Dec-2009 | 05:01 | | Mscordacwks.dll | 2.0.50727.5001 | 995,672 | 03-Dec-2009 | 05:01 | | Mscorwks.dll | 2.0.50727.5001 | 5,821,776 | 03-Dec-2009 | 05:01 | | Sos.dll | 2.0.50727.5001 | 388,936 | 03-Dec-2009 | 05:01 |
For all supported x64-based versions of Windows 7.0 and Windows Server 2008 R2Collapse this tableExpand this table | File name | File version | File size | Date | Time |
|---|
| Mscorlib.dll | 2.0.50727.5001 | 4,567,040 | 03-Dec-2009 | 09:26 | | Mscordacwks.dll | 2.0.50727.5001 | 1,757,528 | 03-Dec-2009 | 09:26 | | Mscorwks.dll | 2.0.50727.5001 | 10,051,920 | 03-Dec-2009 | 09:26 | | Sos.dll | 2.0.50727.5001 | 485,192 | 03-Dec-2009 | 09:26 |
For all supported Itanium-based versions of Windows Server 2008 R2Collapse this tableExpand this table | File name | File version | File size | Date | Time |
|---|
| Mscorlib.dll | 2.0.50727.5001 | 4,009,984 | 03-Dec-2009 | 04:59 | | Mscordacwks.dll | 2.0.50727.5001 | 3,086,168 | 03-Dec-2009 | 04:59 | | Mscorwks.dll | 2.0.50727.5001 | 20,183,888 | 03-Dec-2009 | 04:59 | | Sos.dll | 2.0.50727.5001 | 872,776 | 03-Dec-2009 | 04:59 |
You notice the garbage collector operation when you troubleshoot an application by using a debugger. For more information about the garbage collector operation, see the following Microsoft website:
To work around Issue 1, disable the concurrent garbage collection for the common language runtime (CLR). To do this, you can reference the following Microsoft Web site: Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
APPLIES TO- Microsoft .NET Framework 2.0
- Microsoft .NET Framework 2.0 Service Pack 1 (x86)
- Microsoft .NET Framework 2.0 Service Pack 2
- Microsoft .NET Framework 3.5 Service Pack 1
| kbexpertiseadvanced kbsurveynew kbqfe KB974065 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
|
 |
 |
 |
 |
 |
 |
 |
| |