Common language runtime (CLR) issues
Issue 1:
An out-of-memory error occurs when you run a 64-bit mixed mode application that uses lots of memory, even if sufficient memory is available.
After you install this fix, you have to enable and adjust the following configurations in either the app.exe.config file or the 64-bit registry hive.
For the app.exe.config file, make the following adjustments:
<?xml version ="1.0"?>
<configuration>
<runtime>
<ReserveMemoryForJumpStubs enabled="true"/>
<PrecodeInCodeHeap enabled="true"/>
<JumpStubReserve value="<value>"/>
</runtime>
</configuration>
For the registry, make the following adjustments:
HKLM\Software\Microsoft\.NETFramework\ReserveMemoryForJumpStubs:dword = 1
HKLM\Software\Microsoft\.NETFramework\PrecodeInCodeHeap:dword = 1
HKLM\Software\Microsoft\.NETFramework\JumpStubReserve:dword = <value>
Notes:- To enable this fix, ReserveMemoryForJumpStubs and PrecodeInCodeHeap must be set to "true." JumpStubReserve is an optional setting, and it has a default value of 2 percent.
- If out-of-memory errors still occur, incrementally larger values can be used in order to reserve a larger percentage of the code heap. "20" is a reasonable intermediate value for JumpStubReserve. However, larger values start to have an increasingly adverse effect on performance.
Windows Forms
Issue 1:
Assume that you have a Windows Forms application that has multiple forms, and that a user is scrolling one of these forms. During the scroll operation, the form is closed asynchronously, such as from a timed event, by the UI Automation, or during a system restart. When the form is closed, the application throws an
ObjectedDisposedException exception on the following stack:
System.Windows.Forms.dll!System.Windows.Forms.Control.CreateHandle()
System.Windows.Forms.dll!System.Windows.Forms.Control.Handle.get()
System.Windows.Forms.dll!System.Windows.Forms.Control.CaptureInternal.set(bool value)
System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseDown(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks)
Issue 2:
In a Windows Form application,
CheckedListBox and
ComboBox controls are displayed as empty rectangles on a 64-bit operating system.