A Memory Leak Occurs When Wininet.dll Is Repeatedly Loaded and Unloaded (814417)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.0

SYMPTOMS

After you use a network-enabled program that frequently loads and unloads Wininet.dll, any of the following symptoms may occur:
  • You may receive "Out of memory" error messages.
  • The system may report that it is low on memory.
  • Programs may stop working unexpectedly.

CAUSE

If Wininet.dll is loaded and unloaded repeatedly by a process, several kernel objects (handles) are not freed. The accumulation of used handles may cause the system to become low on memory. The handles are freed when the process that loaded and unloaded Wininet.dll ends.

RESOLUTION

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

   Date         Time   Version    Size       File name
   ----------------------------------------------------------------------------
   07-Mar-2003  21:27  4.0.3.307  5,474,920  030307_armv4i_wce40-q814417.exe   
   07-Mar-2003  21:28  4.0.3.307  5,483,112  030307_armv4t_wce40-q814417.exe   
   07-Mar-2003  21:27  4.0.3.307  5,474,920  030307_armv4_wce40-q814417.exe    
   07-Mar-2003  21:26  4.0.3.307  5,204,584  030307_mips16_wce40-q814417.exe   
   07-Mar-2003  21:28  4.0.3.307  5,552,744  030307_mipsii_fp_wce40-q814417.exe
   07-Mar-2003  21:28  4.0.3.307  5,552,744  030307_mipsii_wce40-q814417.exe
   07-Mar-2003  21:28  4.0.3.307  5,655,144  030307_mipsiv_fp_wce40-q814417.exe
   07-Mar-2003  21:29  4.0.3.307  5,655,144  030307_mipsiv_wce40-q814417.exe
   07-Mar-2003  21:27  4.0.3.307  5,286,504  030307_sh3_wce40-q814417.exe
   07-Mar-2003  21:27  4.0.3.307  5,286,504  030307_sh4_wce40-q814417.exe
   07-Mar-2003  21:26  4.0.3.307  4,901,480  030307_x86_wce40-q814417.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: 030307_q814417\Public\Ie\Oak\Lib\Armv4\Debug
   27-Feb-2003  01:25                    368,208  Ieceext.lib
   27-Feb-2003  01:25                    110,592  Ieceext.pdb
   27-Feb-2003  01:29                    684,032  Urlcache.pdb
   27-Feb-2003  01:31                  6,985,896  Wininet.lib
   27-Feb-2003  01:31                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Armv4\Retail
   27-Feb-2003  01:25                    342,250  Ieceext.lib
   27-Feb-2003  01:25                    110,592  Ieceext.pdb
   27-Feb-2003  01:26                    684,032  Urlcache.pdb
   27-Feb-2003  01:28                  4,901,980  Wininet.lib
   27-Feb-2003  01:28                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Armv4i\Debug
   27-Feb-2003  01:39                    369,198  Ieceext.lib
   27-Feb-2003  01:39                    110,592  Ieceext.pdb
   27-Feb-2003  01:40                    684,032  Urlcache.pdb
   27-Feb-2003  01:42                  7,000,948  Wininet.lib
   27-Feb-2003  01:42                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Armv4i\Retail
   27-Feb-2003  01:38                    343,130  Ieceext.lib
   27-Feb-2003  01:38                    110,592  Ieceext.pdb
   27-Feb-2003  01:39                    684,032  Urlcache.pdb
   27-Feb-2003  01:40                  4,911,702  Wininet.lib
   27-Feb-2003  01:40                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Armv4t\Debug
   27-Feb-2003  01:32                    358,134  Ieceext.lib
   27-Feb-2003  01:32                    110,592  Ieceext.pdb
   27-Feb-2003  01:36                    684,032  Urlcache.pdb
   27-Feb-2003  01:38                  6,692,848  Wininet.lib
   27-Feb-2003  01:38                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Armv4t\Retail
   27-Feb-2003  01:32                    340,952  Ieceext.lib
   27-Feb-2003  01:32                    110,592  Ieceext.pdb
   27-Feb-2003  01:33                    684,032  Urlcache.pdb
   27-Feb-2003  01:36                  4,875,732  Wininet.lib
   27-Feb-2003  01:35                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mips16\Debug
   27-Feb-2003  01:50                    360,396  Ieceext.lib
   27-Feb-2003  01:50                    110,592  Ieceext.pdb
   27-Feb-2003  01:52                    684,032  Urlcache.pdb
   27-Feb-2003  01:53                  6,411,026  Wininet.lib
   27-Feb-2003  01:53                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mips16\Retail
   27-Feb-2003  01:50                    285,730  Ieceext.lib
   27-Feb-2003  01:50                    110,592  Ieceext.pdb
   27-Feb-2003  01:50                    684,032  Urlcache.pdb
   27-Feb-2003  01:51                  4,346,106  Wininet.lib
   27-Feb-2003  01:51                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mipsii\Debug
   27-Feb-2003  01:42                    384,936  Ieceext.lib
   27-Feb-2003  01:42                    110,592  Ieceext.pdb
   27-Feb-2003  01:44                    684,032  Urlcache.pdb
   27-Feb-2003  01:45                  7,002,438  Wininet.lib
   27-Feb-2003  01:45                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mipsii\Retail
   27-Feb-2003  01:42                    335,360  Ieceext.lib
   27-Feb-2003  01:42                    110,592  Ieceext.pdb
   27-Feb-2003  01:43                    684,032  Urlcache.pdb
   27-Feb-2003  01:44                  4,959,724  Wininet.lib
   27-Feb-2003  01:44                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mipsii_fp\Debug
   27-Feb-2003  01:54                    385,136  Ieceext.lib
   27-Feb-2003  01:54                    110,592  Ieceext.pdb
   27-Feb-2003  01:56                    684,032  Urlcache.pdb
   27-Feb-2003  01:57                  7,004,444  Wininet.lib
   27-Feb-2003  01:57                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mipsii_fp\Retail
   27-Feb-2003  01:53                    335,486  Ieceext.lib
   27-Feb-2003  01:53                    110,592  Ieceext.pdb
   27-Feb-2003  01:54                    684,032  Urlcache.pdb
   27-Feb-2003  01:55                  4,961,022  Wininet.lib
   27-Feb-2003  01:55                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mipsiv\Debug
   27-Feb-2003  01:46                    393,040  Ieceext.lib
   27-Feb-2003  01:46                    110,592  Ieceext.pdb
   27-Feb-2003  01:48                    684,032  Urlcache.pdb
   27-Feb-2003  01:49                  7,112,624  Wininet.lib
   27-Feb-2003  01:49                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mipsiv\Retail
   27-Feb-2003  01:46                    341,038  Ieceext.lib
   27-Feb-2003  01:46                    110,592  Ieceext.pdb
   27-Feb-2003  01:46                    684,032  Urlcache.pdb
   27-Feb-2003  01:48                  5,074,708  Wininet.lib
   27-Feb-2003  01:48                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mipsiv_fp\Debug
   27-Feb-2003  01:58                    393,240  Ieceext.lib
   27-Feb-2003  01:57                    110,592  Ieceext.pdb
   27-Feb-2003  02:00                    684,032  Urlcache.pdb
   27-Feb-2003  02:01                  7,114,626  Wininet.lib
   27-Feb-2003  02:01                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Mipsiv_fp\Retail
   27-Feb-2003  01:57                    341,162  Ieceext.lib
   27-Feb-2003  01:57                    110,592  Ieceext.pdb
   27-Feb-2003  01:58                    684,032  Urlcache.pdb
   27-Feb-2003  01:59                  5,076,010  Wininet.lib
   27-Feb-2003  01:59                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Sh3\Debug
   27-Feb-2003  01:15                    349,688  Ieceext.lib
   27-Feb-2003  01:15                    110,592  Ieceext.pdb
   27-Feb-2003  01:17                    684,032  Urlcache.pdb
   27-Feb-2003  01:19                  6,216,842  Wininet.lib
   27-Feb-2003  01:19                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Sh3\Retail
   27-Feb-2003  01:15                    315,072  Ieceext.lib
   27-Feb-2003  01:15                    110,592  Ieceext.pdb
   27-Feb-2003  01:16                    684,032  Urlcache.pdb
   27-Feb-2003  01:17                  4,593,224  Wininet.lib
   27-Feb-2003  01:17                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Sh4\Debug
   27-Feb-2003  01:19                    349,688  Ieceext.lib
   27-Feb-2003  01:19                    110,592  Ieceext.pdb
   27-Feb-2003  01:22                    684,032  Urlcache.pdb
   27-Feb-2003  01:24                  6,216,690  Wininet.lib
   27-Feb-2003  01:24                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\Sh4\Retail
   27-Feb-2003  01:19                    314,964  Ieceext.lib
   27-Feb-2003  01:19                    110,592  Ieceext.pdb
   27-Feb-2003  01:20                    684,032  Urlcache.pdb
   27-Feb-2003  01:21                  4,587,314  Wininet.lib
   27-Feb-2003  01:21                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\X86\Debug
   27-Feb-2003  01:12                    314,200  Ieceext.lib
   27-Feb-2003  01:12                    110,592  Ieceext.pdb
   27-Feb-2003  01:14                    692,224  Urlcache.pdb
   27-Feb-2003  01:15                  5,743,262  Wininet.lib
   27-Feb-2003  01:15                    659,456  Wininet.pdb

   Path: 030307_q814417\Public\Ie\Oak\Lib\X86\Retail
   27-Feb-2003  01:11                    293,784  Ieceext.lib
   27-Feb-2003  01:11                    110,592  Ieceext.pdb
   27-Feb-2003  01:12                    684,032  Urlcache.pdb
   27-Feb-2003  01:13                  4,235,684  Wininet.lib
   27-Feb-2003  01:13                    659,456  Wininet.pdb

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 KB814417 kbAudOEM