FIX: Memory Leaks When You Mount or Unmount FATFS Volumes (829196)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 3.0

SYMPTOMS

When you mount and unmount FAT File System (FATFS) volumes, you may notice a memory leak in the Filesys.exe process. For example, this may occur when you insert and remove Advanced Technology Attachment (ATA) Flash Personal Computer Memory Card International Association (PCMCIA) PC cards.

CAUSE

The FATFS caching implementation does not close a registry key when the FATFS caching implementation is being initialized.

RESOLUTION

Hotfix Information

A supported software update is now available from Microsoft as Windows CE 3.0 Core OS QFE 829196. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

File Information

The English version of this package has the file attributes (or later) that are listed in the following table.
   Date         Time   Version       Size    File name
   -------------------------------------------------------------------------------
   25-Sep-2003  19:00  3.0.3.925    895,608  Wincepb30-030925-kb829196-arm720.exe  
   25-Sep-2003  19:02  3.0.3.925    940,664  Wincepb30-030925-kb829196-ppc403.exe  
   25-Sep-2003  19:02  3.0.3.925    940,664  Wincepb30-030925-kb829196-ppc821.exe  
   25-Sep-2003  19:01  3.0.3.925    936,568  Wincepb30-030925-kb829196-r3000.exe  
   25-Sep-2003  19:01  3.0.3.925    936,568  Wincepb30-030925-kb829196-r4100.exe  
   25-Sep-2003  19:00  3.0.3.925    887,416  Wincepb30-030925-kb829196-r4111.exe
   25-Sep-2003  19:01  3.0.3.925    936,568  Wincepb30-030925-kb829196-r4300.exe
   25-Sep-2003  19:00  3.0.3.925    895,608  Wincepb30-030925-kb829196-sa1100.exe
   25-Sep-2003  19:00  3.0.3.925    920,184  Wincepb30-030925-kb829196-sh3.exe
   25-Sep-2003  19:00  3.0.3.925    920,184  Wincepb30-030925-kb829196-sh4.exe  
   25-Sep-2003  19:01  3.0.3.925    920,184  Wincepb30-030925-kb829196-thumb.exe
   25-Sep-2003  19:00  3.0.3.925    850,552  Wincepb30-030925-kb829196-x86.exe  
The English version of this hotfix has the file attributes (or later) 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 tool in Control Panel.
   Date         Time                      Size    File name
   --------------------------------------------------------------

   Path: Public\Common\Oak\Lib\ARM\ARM720\CE\Debug
   20-Sep-2003  00:26                    691,208  Fatmain.lib

   Path: Public\Common\Oak\Lib\ARM\ARM720\CE\Retail
   20-Sep-2003  00:25                    375,550  Fatmain.lib

   Path: Public\Common\Oak\Lib\ARM\SA1100\CE\Debug
   20-Sep-2003  00:23                    690,484  Fatmain.lib

   Path: Public\Common\Oak\Lib\ARM\SA1100\CE\Retail
   20-Sep-2003  00:23                    374,798  Fatmain.lib

   Path: Public\Common\Oak\Lib\MIPS\R3000\CE\Debug
   20-Sep-2003  00:24                    788,300  Fatmain.lib

   Path: Public\Common\Oak\Lib\MIPS\R3000\CE\Retail
   20-Sep-2003  00:24                    436,204  Fatmain.lib

   Path: Public\Common\Oak\Lib\MIPS\R4100\CE\Debug
   20-Sep-2003  00:24                    788,708  Fatmain.lib

   Path: Public\Common\Oak\Lib\MIPS\R4100\CE\Retail
   20-Sep-2003  00:24                    435,558  Fatmain.lib

   Path: Public\Common\Oak\Lib\MIPS\R4111\CE\Debug
   20-Sep-2003  00:24                    649,982  Fatmain.lib

   Path: Public\Common\Oak\Lib\MIPS\R4111\CE\Retail
   20-Sep-2003  00:24                    341,920  Fatmain.lib

   Path: Public\Common\Oak\Lib\MIPS\R4300\CE\Debug
   20-Sep-2003  00:25                    788,300  Fatmain.lib

   Path: Public\Common\Oak\Lib\MIPS\R4300\CE\Retail
   20-Sep-2003  00:25                    435,570  Fatmain.lib

   Path: Public\Common\Oak\Lib\PPC\PPC403\CE\Debug
   20-Sep-2003  00:25                    767,278  Fatmain.lib

   Path: Public\Common\Oak\Lib\PPC\PPC403\CE\Retail
   20-Sep-2003  00:25                    392,590  Fatmain.lib

   Path: Public\Common\Oak\Lib\PPC\PPC821\CE\Debug
   20-Sep-2003  00:25                    767,278  Fatmain.lib

   Path: Public\Common\Oak\Lib\PPC\PPC821\CE\Retail
   20-Sep-2003  00:25                    392,590  Fatmain.lib

   Path: Public\Common\Oak\Lib\SHx\SH3\CE\Debug
   20-Sep-2003  00:23                    722,990  Fatmain.lib

   Path: Public\Common\Oak\Lib\SHx\SH3\CE\Retail
   20-Sep-2003  00:23                    389,162  Fatmain.lib

   Path: Public\Common\Oak\Lib\SHx\SH4\CE\Debug
   20-Sep-2003  00:23                    722,658  Fatmain.lib

   Path: Public\Common\Oak\Lib\SHx\SH4\CE\Retail
   20-Sep-2003  00:23                    388,828  Fatmain.lib

   Path: Public\Common\Oak\Lib\THUMB\ARM720\CE\Debug
   20-Sep-2003  00:26                    713,650  Fatmain.lib

   Path: Public\Common\Oak\Lib\THUMB\ARM720\CE\Retail
   20-Sep-2003  00:26                    393,354  Fatmain.lib

   Path: Public\Common\Oak\Lib\X86\I486\CE\Debug
   20-Sep-2003  00:22                    647,790  Fatmain.lib

   Path: Public\Common\Oak\Lib\X86\I486\CE\Retail
   20-Sep-2003  00:22                    324,040  Fatmain.lib

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

This bug exists in the FATFS caching implementation that was introduced in QFE update 22. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

295097 Poor Performance Using the FAT File System



The leak does not occur if the following registry key does not exist:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FATFS


Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbBug kbfix kbQFE KB829196 kbAudDeveloper