diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-178488C1-5453-490F-B168-9D73DB5BAE47.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-178488C1-5453-490F-B168-9D73DB5BAE47.dita Tue Mar 30 11:56:28 2010 +0100 @@ -0,0 +1,69 @@ + + + + + +Priority +ConfigurationThis section explains how to configure the priorities in the OOM +Monitor configuration file. +

The OOM Monitor configuration file (oomconfig.xml) +is located in epo32\data\z\10207218.

+The configuration file cannot be modified after flashing it to the device. +

The OOM Monitor configuration file can contain the following details:

+

For applications that need to be active all the time the priority can be +set to NEVER_CLOSE.

+
Example

The +following is an example of the OOM Monitor configuration file:

<oom_config> + +<!-- Low RAM and good RAM thresholds are defined in kilobytes.The value 1 means that applications are not closed in parallel. default_wait_after_plugin defines how long to wait (in milliseconds)after OOM plug-in is called. +<global_settings low_ram_threshold="3637" good_ram_threshold="4900" max_app_close_batch="3" default_wait_after_plugin="10" max_app_exit_time="2000" /> + + +<!-- Application specific low RAM and good RAM thresholds are defined here --> +<app_specific_thresholds> +<!-- Uid of Browser application> +<app uid="10008d39" low_ram_threshold="8637" good_ram_threshold="9900" /> +... +</app_specific_thresholds> + + +<app_close_settings> + +<!--The uid DEFAULT_APP refers to all applications, which priority is not specifically defined in the conf file.--> +<close_app uid="DEFAULT_APP" priority="80" sync_mode="check"> +<app_close_idle_priority idle_time="900" priority="50" /> +<app_close_idle_priority idle_time="43200" priority="20" /> +</close_app> + +<close_app uid="BUSY_APP" priority="NEVER_CLOSE" sync_mode="check" /> + +<close_app uid="10008d39" priority="80" sync_mode="check"> +<app_close_settings> + + +<!--The priority of executing each application plug-in is defined here--> +<app_plugin_settings> +<app_plugin uid="10281f93" target_app_id="10008d39" priority="30" wait="100" sync_mode="check"> +<plugin_foreground_app_priority target_app_id="10008d39" priority="100" /> +</app_plugin> +</app_plugin_settings> + + +</oom_config>
+
\ No newline at end of file