Share via


Object Store Size

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The maximum size for the object store is 128 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 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.

  • A trusted application can call SetSystemMemoryDivision to set the size of the object store.

During a warm boot, the size of the object store persists and can only be changed by a privileged 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 can set the size of the object store, using Control Panel. The user turns off the device, and then turns it back on. All of the user's data is present if persistence is being used. However, the size of the object store is set to the default value.

Control Panel 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 when the device is booted, read the value from the registry, and call the SetSystemMemoryDivision function.

See Also

Concepts

Object Store

Other Resources

FSRAMPERCENT
Configuring Object Store Memory
SetSystemMemoryDivision