FIX: A memory leak occurs when you quickly remove and then reinsert a storage device that is inserted into a Windows Embedded CE 6.0 R3-based device

Symptoms

Consider the following scenario:

  • You insert a storage device such as an SD card or a CF card into a Windows Embedded CE 6.0 R3-based device.
  • You quickly remove and then reinsert the storage device.

In this scenario, a memory leak in a File System Disk Manager (FSDMGR) function may occur. This causes the performance of the device to decrease over time.

Cause

This issue occurs because theĀ FSDMGR function that compares the partitions does not reclaim an array when the array is no longer needed.

Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded CE 6.0 Monthly Update May 2011. In the "File Information" section, the package file name contains the product version, date, Microsoft Knowledge Base article number, and processor type. The package file name format is as follows:

Product version-yymmdd-kbnnnnnn-processor typeFor example: Wincepb60-110128-kb2492159-armv4i.msi is the ARMV4i Windows Embedded CE 6.0 Platform Builder fix that is documented in Knowledge Base article 2492159 and that is contained in the January 2011 monthly update.

To resolve this problem immediately, download this Windows Embedded CE 6.0 monthly update from one of the following Microsoft websites:

Windows Embedded

Download Windows Embedded CE 6.0 Microsoft Download Center

Windows Embedded CE 6.0

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this 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 a previously released update.

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.

Installer files

File name File size Date Time
Wincepb60-110517-kb2544266-mipsiv_fp.msi 1,556,992 17-May-2011 20:56
Wincepb60-110517-kb2544266-sh4.msi 1,512,448 17-May-2011 20:56
Wincepb60-110517-kb2544266-x86.msi 1,416,704 17-May-2011 20:56
Wincepb60-110517-kb2544266-armv4i.msi 1,560,064 17-May-2011 20:56
Wincepb60-110517-kb2544266-mipsii.msi 1,547,776 17-May-2011 20:56
Wincepb60-110517-kb2544266-mipsii_fp.msi 1,548,288 17-May-2011 20:56
Wincepb60-110517-kb2544266-mipsiv.msi 1,556,480 17-May-2011 20:56

Files that are included in this update package

File name File size Date Time Path
Windows embedded ce 6.0_update_kb2544266.htm 7,822 17-May-2011 20:48 110517_kb2544266
Partition.cpp 29,243 03-May-2011 19:59 Private\Winceos\Coreos\Storage\Fsdmgr
Fsdmgr_lib.lib 1,525,036 03-May-2011 19:58 Public\Common\Oak\Lib\Armv4i\Debug
Fsdmgr_lib.lib 1,238,838 03-May-2011 19:58 Public\Common\Oak\Lib\Armv4i\Retail
Fsdmgr_lib.lib 1,499,786 03-May-2011 19:58 Public\Common\Oak\Lib\Mipsii\Debug
Fsdmgr_lib.lib 1,247,056 03-May-2011 19:58 Public\Common\Oak\Lib\Mipsii\Retail
Fsdmgr_lib.lib 1,500,090 03-May-2011 19:58 Public\Common\Oak\Lib\Mipsii_fp\Debug
Fsdmgr_lib.lib 1,247,480 03-May-2011 19:58 Public\Common\Oak\Lib\Mipsii_fp\Retail
Fsdmgr_lib.lib 1,523,018 03-May-2011 19:59 Public\Common\Oak\Lib\Mipsiv\Debug
Fsdmgr_lib.lib 1,264,426 03-May-2011 19:58 Public\Common\Oak\Lib\Mipsiv\Retail
Fsdmgr_lib.lib 1,523,322 03-May-2011 19:59 Public\Common\Oak\Lib\Mipsiv_fp\Debug
Fsdmgr_lib.lib 1,264,846 03-May-2011 19:59 Public\Common\Oak\Lib\Mipsiv_fp\Retail
Fsdmgr_lib.lib 1,345,898 03-May-2011 19:59 Public\Common\Oak\Lib\Sh4\Debug
Fsdmgr_lib.lib 1,137,822 03-May-2011 19:59 Public\Common\Oak\Lib\Sh4\Retail
Fsdmgr_lib.lib 1,270,474 03-May-2011 19:57 Public\Common\Oak\Lib\X86\Debug
Fsdmgr_lib.lib 1,069,386 03-May-2011 19:57 Public\Common\Oak\Lib\X86\Retail

References

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates