Microsoft KB Archive/821040

= FIX: The Services.exe Component Consumes More RAM Than is Required =

Article ID: 821040

Article Last Modified on 5/26/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.2

-



SYMPTOMS
The services component allocates a minimum of 37.5 Kilobytes (KB) when started.



CAUSE
When the Services.exe program initializes, it pre-allocates 64 buffers of approximately 600 bytes each. On some memory constrained configurations, fewer buffers are needed and the unused buffer RAM can be used for other purposes.

This fix changes the initial allocation from 64 buffers to 10 buffers. If more buffers are required, they can be dynamically allocated. However, the extra buffers are not released.



Hotfix Information
A supported software update is now available from Microsoft as Windows CE 4.2 Core OS QFE 821040. 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
Install all earlier updates and security patches for this version of the Windows CE operating system

Restart Requirement
You do not have to restart your computer after you apply this hotfix.

Hotfix Replacement Information
This hotfix does not replace any other hotfixes.

File Information
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   Version     Size    File name ---  27-May-2003  23:36  4.2.3.527  719,464  Wincepb42-030527-kb821040-armv4.exe 27-May-2003 23:36  4.2.3.527  719,464  Wincepb42-030527-kb821040-armv4i.exe 27-May-2003 23:36  4.2.3.527  731,752  Wincepb42-030527-kb821040-mipsii.exe 27-May-2003 23:37  4.2.3.527  731,752  Wincepb42-030527-kb821040-mipsii_fp.exe 27-May-2003 23:37  4.2.3.527  731,752  Wincepb42-030527-kb821040-mipsiv.exe 27-May-2003 23:37  4.2.3.527  731,752  Wincepb42-030527-kb821040-mipsiv_fp.exe 27-May-2003 23:36  4.2.3.527  711,272  Wincepb42-030527-kb821040-sh3.exe 27-May-2003 23:36  4.2.3.527  711,272  Wincepb42-030527-kb821040-sh4.exe 27-May-2003 23:36  4.2.3.527  690,792  Wincepb42-030527-kb821040-x86.exe The English version of this fix has the file attributes (or later) that are listed in the following table.   Date         Time      Size    File name --

Path: Public\Servers\Oak\Lib\Armv4\Debug 14-May-2003 00:39    259,734  Services.lib 14-May-2003 00:39    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Armv4\Retail 14-May-2003 00:39    183,476  Services.lib 14-May-2003 00:39    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Armv4i\Debug 14-May-2003 00:39    260,074  Services.lib 14-May-2003 00:39    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Armv4i\Retail 14-May-2003 00:39    183,764  Services.lib 14-May-2003 00:39    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Mipsii\Debug 14-May-2003 00:40    273,410  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Mipsii\Retail 14-May-2003 00:40    196,794  Services.lib 14-May-2003 00:39    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Mipsii_fp\Debug 14-May-2003 00:40    273,452  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Mipsii_fp\Retail 14-May-2003 00:40    196,838  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Mipsiv\Debug 14-May-2003 00:40    276,530  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Mipsiv\Retail 14-May-2003 00:40    198,632  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Mipsiv_fp\Debug 14-May-2003 00:40    276,572  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Mipsiv_fp\Retail 14-May-2003 00:40    198,676  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Sh3\Debug 14-May-2003 00:40    235,730  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Sh3\Retail 14-May-2003 00:40    172,496  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Sh4\Debug 14-May-2003 00:40    235,730  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\Sh4\Retail 14-May-2003 00:40    172,448  Services.lib 14-May-2003 00:40    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\X86\Debug 14-May-2003 00:39    225,716  Services.lib 14-May-2003 00:39    102,400  Services.pdb

Path: Public\Servers\Oak\Lib\X86\Retail 14-May-2003 00:39    156,564  Services.lib 14-May-2003 00:39    102,400  Services.pdb



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

Additional query words:

Keywords: kbbug kbfix kbqfe KB821040

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.