Mapping Large Files over a Redirector May Return "Out of Memory" (331008)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.1

This article was previously published under Q331008

SYMPTOMS

The CreateFileMapping function may not work, and the GetLastError function may return an "ERROR_NOT_ENOUGH_MEMORY (0x00000008)" code. This problem may occur with large files, but may not occur with smaller files (for example, the problem may occur with a 30-MB file, but might not with a 15-MB file).

RESOLUTION

A supported software update is now available from Microsoft as Windows CE 4.1 Core OS QFE 331008. 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

The English version of this package has the following file attributes or later:
   Date         Time   Version     Size     File name
   ---------------------------------------------------------------------------
   30-Oct-2002  22:22  4.1.2.1030  493,552  021030_armv4i_wce41-q331008.exe
   30-Oct-2002  22:22  4.1.2.1030  489,456  021030_armv4t_wce41-q331008.exe
   30-Oct-2002  22:22  4.1.2.1030  489,456  021030_armv4_wce41-q331008.exe
   30-Oct-2002  22:22  4.1.2.1030  493,552  021030_mips16_wce41-q331008.exe
   30-Oct-2002  22:22  4.1.2.1030  505,840  021030_mipsii_fp_wce41-q331008.exe
   30-Oct-2002  22:22  4.1.2.1030  504,104  021030_mipsii_wce41-q331008.exe
   30-Oct-2002  22:22  4.1.2.1030  508,200  021030_mipsiv_fp_wce41-q331008.exe
   30-Oct-2002  22:22  4.1.2.1030  508,200  021030_mipsiv_wce41-q331008.exe
   30-Oct-2002  22:22  4.1.2.1030  473,696  021030_sh3_wce41-q331008.exe
   30-Oct-2002  22:22  4.1.2.1030  473,696  021030_sh4_wce41-q331008.exe  
   30-Oct-2002  22:22  4.1.2.1030  445,024  021030_x86_wce41-q331008.exe
The English version of this fix 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\Armv4\Debug
   18-Oct-2002  19:02                    530,758  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Armv4\Retail
   18-Oct-2002  18:55                    262,150  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Armv4i\Debug
   18-Oct-2002  18:48                    531,270  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Armv4i\Retail
   18-Oct-2002  18:41                    262,226  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Armv4t\Debug
   18-Oct-2002  18:34                    504,876  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Armv4t\Retail
   18-Oct-2002  18:27                    258,116  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mips16\Debug
   18-Oct-2002  19:30                    540,012  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mips16\Retail
   18-Oct-2002  19:23                    244,788  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mipsii\Debug
   18-Oct-2002  19:16                    540,012  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mipsii\Retail
   18-Oct-2002  19:09                    271,008  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Debug
   18-Oct-2002  19:44                    540,050  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mipsii_fp\Retail
   18-Oct-2002  19:38                    271,074  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Debug
   18-Oct-2002  20:42                    545,580  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mipsiv\Retail
   18-Oct-2002  20:35                    272,878  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug
   18-Oct-2002  20:13                    545,620  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail
   18-Oct-2002  20:06                    272,948  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Sh3\Debug
   18-Oct-2002  19:59                    476,330  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Sh3\Retail
   18-Oct-2002  19:52                    241,212  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Sh4\Debug
   18-Oct-2002  20:27                    476,156  Rdrapi.lib

   Path: Public\Common\Oak\Lib\Sh4\Retail
   18-Oct-2002  20:20                    240,892  Rdrapi.lib

   Path: Public\Common\Oak\Lib\X86\Debug
   18-Oct-2002  18:20                    461,040  Rdrapi.lib

   Path: Public\Common\Oak\Lib\X86\Retail
   18-Oct-2002  18:13                    212,100  Rdrapi.lib

STATUS

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

Modification Type:MinorLast Reviewed:5/27/2005
Keywords:kbbug kbfix kbQFE KB331008 kbAudOEM