Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

For Windows Mobile development, memory usage is an important consideration, and the registry is no exception. The following guidelines are based on the fact that it takes less memory to store a value than to store a key:

  • Keep your key depth as shallow as possible. Eliminate unnecessary subkeys.

  • When possible, replace subkeys with entries. For example, a subkey Colors might be replaced with an entry named Colors.

  • Store as much information in one value as possible. For example, a date value could be formatted to include the time rather than using two values.

See Also