Article ID: 2516902 - Last Review: April 12, 2011 - Revision: 1.0
A memory leak occurs when you perform some operations on a storage device or on a USB HID that is inserted into a Windows Embedded CE 6.0 R3-based device
System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
You insert one of the following devices into a Windows Embedded CE 6.0 R3-based device:
A storage device. For example, an SD card or a CF card.
A USB human interface device (HID). For example, a USB keyboard or a USB mouse.
You perform one of the following operations:
You remove and then reinsert the storage device or the USB HID device quickly.
You suspend and then resume the Windows Embedded CE 6.0 R3-based device.
In this scenario, some event handles are not freed. If you repeat one of the operations frequently, a memory leak occurs in the File System Disk Manager (FSDMGR) functions or in the USB stack. This causes the performance of the device to decrease.
This issue occurs because the function that unmounts the partitions is not called after the storage device is removed and reinserted, and before the PnPUnloadDelay subkey times out.
A memory leak in the USB stack
This issue occurs because some event handles were recreated without freeing the existing handle instances during the resume cycle.
A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Platform Builder Monthly Update (March 2011). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows Embedded CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows Embedded CE Platform Builder and core operating system software updates:
837392
(http://support.microsoft.com/kb/837392/
)
How to locate core operating system fixes for Microsoft Windows Embedded CE Platform Builder products
Note This Windows Embedded CE 6.0 Monthly Update is also available for download from the following Microsoft Download Center website:
Windows Embedded CE 6.0 Updates
(http://www.microsoft.com/downloads/en/ResultsForProduct.aspx?productID=f8af6708-edcb-472a-829d-f73d951c35a1&stype=ss_sd&displaylang=en&nr=10&sortCriteria=Popularity&sortOrder=Ascending)
Prerequisites
To apply this software update, you must have all previously issued software updates for this product installed.
Restart requirement
After you install this software update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
On the Build menu, click Clean Solution, and then click Build Solution.
On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.
Update replacement information
This update does not replace any updates.
File information
The English version of this software update package 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.