System memory is quickly exhausted when you run a custom application that uses the SetICMMode function on a Windows Vista-based or on a Windows Server 2008-based computer
You develop an application that uses the SetICMMode function. In this application, the SetICMMode function is frequently called when the second parameter is set to the ICM_ON constant. When you run this application on a Windows Vista-based or a Windows Server 2008-based computer, the system memory is quickly exhausted.
When the issue occurs, the private working set for the corresponding process increases.
Note: This issue does not occur in Windows XP or in Windows Server 2003.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB957295.