FIX: A memory leak may occur in the Internet Explorer Urlmon component (872807)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.2

SYMPTOMS

The system becomes low on memory resources when Web pages that contain script continuously appear.

The memory leak is small. However, eventually the memory leak can interfere with KIOSK-type devices that continuously cycle through HTML pages. After several hours of operation, memory resources are exhausted, and the device slows down. You may receive the System Out-of-Memory (OOMUI) dialog box if your operating system implements this dialog box.

CAUSE

The memory leak is caused when Urlmon.dll saves a URL for an embedded binding to the global garbage collection pool. The global garbage collection pool is only cleaned up when you exit the application.

RESOLUTION

Software update information

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

Prerequisites

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

Restart requirement

After you install this update, you must perform a clean build of the whole operating system. To perform a clean build of the operating system, follow these steps:
  1. On the Build menu, click Clean.
  2. On the Build menu, click Build Platform.
You do not have to restart your computer after you apply this update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this update 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 tool in Control Panel.
   Date         Time   Version            Size    File name
   --------------------------------------------------------------

   26-Jul-2004  23:56  4.2.4.726       2,271,992  Wincepb42-040726-kb872807-armv4.exe  
   26-Jul-2004  23:56  4.2.4.726       2,276,088  Wincepb42-040726-kb872807-armv4i.exe  
   26-Jul-2004  23:56  4.2.4.726       2,317,048  Wincepb42-040726-kb872807-mipsii.exe  
   26-Jul-2004  23:56  4.2.4.726       2,321,144  Wincepb42-040726-kb872807-mipsii_fp.exe  
   26-Jul-2004  23:56  4.2.4.726       2,345,720  Wincepb42-040726-kb872807-mipsiv.exe  
   26-Jul-2004  23:56  4.2.4.726       2,349,816  Wincepb42-040726-kb872807-mipsiv_fp.exe  
   26-Jul-2004  23:56  4.2.4.726       2,202,360  Wincepb42-040726-kb872807-sh3.exe  
   26-Jul-2004  23:56  4.2.4.726       2,202,360  Wincepb42-040726-kb872807-sh4.exe  
   26-Jul-2004  23:56  4.2.4.726       1,952,504  Wincepb42-040726-kb872807-x86.exe  
The English version of this package has the file attributes (or later) that are listed in the following table.
   Date         Time                      Size    File name
   --------------------------------------------------------------

   Path: Public\Ie\Oak\Lib\Armv4\Debug
   13-Jul-2004  16:38                  3,065,752  Urlmon.lib
   16-Jul-2004  00:13                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Armv4\Retail
   13-Jul-2004  16:37                  2,527,186  Urlmon.lib
   15-Jul-2004  23:54                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Armv4i\Debug
   13-Jul-2004  16:41                  3,073,156  Urlmon.lib
   16-Jul-2004  00:51                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Armv4i\Retail
   13-Jul-2004  16:39                  2,532,452  Urlmon.lib
   16-Jul-2004  00:32                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Mipsii\Debug
   13-Jul-2004  16:43                  3,079,076  Urlmon.lib
   16-Jul-2004  01:29                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Mipsii\Retail
   13-Jul-2004  16:42                  2,589,368  Urlmon.lib
   16-Jul-2004  01:10                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Mipsii_fp\Debug
   13-Jul-2004  16:46                  3,079,694  Urlmon.lib
   16-Jul-2004  02:08                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Mipsii_fp\Retail
   13-Jul-2004  16:44                  2,589,972  Urlmon.lib
   16-Jul-2004  01:48                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Mipsiv\Debug
   13-Jul-2004  16:48                  3,110,914  Urlmon.lib
   16-Jul-2004  02:48                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Mipsiv\Retail
   13-Jul-2004  16:47                  2,608,392  Urlmon.lib
   16-Jul-2004  02:28                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Mipsiv_fp\Debug
   13-Jul-2004  16:51                  3,111,530  Urlmon.lib
   16-Jul-2004  03:28                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Mipsiv_fp\Retail
   13-Jul-2004  16:50                  2,608,994  Urlmon.lib
   16-Jul-2004  03:08                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Sh3\Debug
   13-Jul-2004  16:53                  2,805,300  Urlmon.lib
   16-Jul-2004  04:08                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Sh3\Retail
   13-Jul-2004  16:52                  2,367,498  Urlmon.lib
   16-Jul-2004  03:48                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Sh4\Debug
   13-Jul-2004  16:56                  2,805,250  Urlmon.lib
   13-Jul-2004  16:55                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\Sh4\Retail
   13-Jul-2004  16:55                  2,364,828  Urlmon.lib
   16-Jul-2004  04:29                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\X86\Debug
   13-Jul-2004  16:36                  2,477,794  Urlmon.lib
   15-Jul-2004  23:36                     77,824  Utils.pdb

   Path: Public\Ie\Oak\Lib\X86\Retail
   13-Jul-2004  16:35                  2,188,290  Urlmon.lib
   15-Jul-2004  23:17                     77,824  Utils.pdb

WORKAROUND

To work around this problem, exit the browser application and then open a new instance of the browser. This cleans up the remnants of the memory leak.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MinorLast Reviewed:5/27/2005
Keywords:kbBug kbfix kbQFE KB872807 kbAudDeveloper kbAudOEM