Partager via


Object Store Size (Windows CE 5.0)

Send Feedback

The maximum size for the object store is 256 MB of compressible, nonvolatile, RAM storage. The size of the object store can be changed to customize the amount of persistent storage available for applications and their related data. The size of the object store can be changed in the following ways:

  • The default size of the object store on a cold boot can be set using the FSRAMPERCENT configuration option in the Config.bib file.
  • A trusted run-time application can call SetSystemMemoryDivision to set the size of the object store.
  • A user can change the size of the object store using a control panel application that allows them to change the distribution of RAM between the object store and program memory.

During a warm boot, the size of the object store persists and can only be changed by a trusted run-time application or by a user through a control panel application.

During a cold boot, only the FSRAMPERCENT setting persists. It persists because it is built into the image in ROM. This is true even if a persistent registry is used or a persistent file system has been mounted as the root file system.

For example, a user may choose to set the size of the object store using the control panel application. The user turns off their device and then repowers the device. All of the user's data will be present if persistence is being used, however, the size of the object store will be set to the default value.

The control panel application can be customized so that it saves the changes to the object store size in the registry. An application or driver can then be added to run during a boot operation, read the value from the registry and call the SetSystemMemoryDivision function.

See Also

Object Store | FSRAMPERCENT | SetSystemMemoryDivision | Configuring Object Store Memory

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.