64
|
1 |
|
|
2 |
<!-- This is the configuration file for the new GOOM Monitor. This configuration file
|
|
3 |
defines a GOOM policy where Graphics RAM is released. The order below is the order in which the OOM Monitor releases RAM.
|
|
4 |
Work on the GOOM Moitor config file will be based on this.
|
|
5 |
|
|
6 |
Aim of GOOM:
|
|
7 |
Run ALF plugin
|
|
8 |
Call on Policy Server of MM to free G Ram
|
|
9 |
|
|
10 |
-->
|
|
11 |
<goom_config>
|
|
12 |
|
|
13 |
<!-- Low RAM and good RAM thresholds are defined here in kilobytes.
|
|
14 |
The max_app_close_batch indicates how many applications can be closed in parallel.
|
|
15 |
The value 1 means that applications are not closed in parallel.
|
|
16 |
default_wait_after_plugin defines how long is waited (in milliseconds) after
|
|
17 |
an GOOM plugin is called and before the free RAM is checked to determine if more
|
|
18 |
actions are needed. This value is meaningful only when "check" or "estimate" sync mode is
|
|
19 |
used with plugins.
|
|
20 |
-->
|
|
21 |
<global_settings
|
|
22 |
low_ram_threshold="3637"
|
|
23 |
good_ram_threshold="10000"
|
|
24 |
max_app_close_batch="3"
|
|
25 |
default_wait_after_plugin="200"
|
|
26 |
default_icon_cache="6000"
|
|
27 |
>
|
|
28 |
</global_settings>
|
|
29 |
|
|
30 |
<!-- Application specific low RAM and good RAM thresholds are defined here. The higher values of
|
|
31 |
the low and good thresholds are defined to avoid GOOM errors with these applications when the default
|
|
32 |
threshold values are used.
|
|
33 |
-->
|
|
34 |
<app_specific_thresholds>
|
|
35 |
|
|
36 |
<app uid="101F857A" low_ram_threshold="1000" good_ram_threshold="30000" skip_plugin="2002B3AE" icon_cache="0" use_sw_rend="Yes"></app> <!-- Camera -->
|
|
37 |
<app uid="200159B2" low_ram_threshold="5000" good_ram_threshold="10000" skip_plugin="2002B3AE"></app> <!-- MPlayer -->
|
|
38 |
<app uid="102824CD" low_ram_threshold="5000" good_ram_threshold="10000" skip_plugin="2002B3AE"></app> <!-- Embedded mplayer -->
|
|
39 |
<app uid="200009EE" low_ram_threshold="3637" good_ram_threshold="10000" target_free_on_startup="10000"></app> <!-- Photos -->
|
|
40 |
<app uid="101FD693" low_ram_threshold="5000" good_ram_threshold="10000" skip_plugin="2002C30A" target_free_on_startup="6000"></app> <!-- Flashlite -->
|
|
41 |
|
|
42 |
</app_specific_thresholds>
|
|
43 |
|
|
44 |
<!-- The priority of closing each application is defined here.
|
|
45 |
-->
|
|
46 |
<app_close_settings>
|
|
47 |
<!-- The uid DEFAULT_APP refers to all applications, which priority is not specifically
|
|
48 |
defined in the conf file.
|
|
49 |
-->
|
|
50 |
<close_app uid="DEFAULT_APP" priority="80" sync_mode="check" close_timeout="1000" wait_after_close="1000">
|
|
51 |
<app_close_idle_priority idle_time="900" priority="50"></app_close_idle_priority>
|
|
52 |
<app_close_idle_priority idle_time="43200" priority="20"></app_close_idle_priority>
|
|
53 |
</close_app>
|
|
54 |
<!-- The uid BUSY_APP refers to applications, which have set the OOM priority BUSY
|
|
55 |
by using the GOOM Monitor API SetGOomPriority(). The priority NEVER_CLOSE
|
|
56 |
means that the application is not closed at all.
|
|
57 |
-->
|
|
58 |
<close_app uid="BUSY_APP" priority="NEVER_CLOSE" sync_mode="check"></close_app>
|
|
59 |
<!-- The uid HIGH_PRIORITY_APP refers to applications, which have set the GOOM priority HIGH
|
|
60 |
by using the GOOM Monitor API SetGOomPriority().
|
|
61 |
-->
|
|
62 |
<close_app uid="HIGH_PRIORITY_APP" priority="90" sync_mode="check">
|
|
63 |
<app_close_idle_priority idle_time="43200" priority="20"></app_close_idle_priority>
|
|
64 |
</close_app>
|
|
65 |
|
|
66 |
<!-- policy server takes time to release resources aftr apps close
|
|
67 |
this line may be enabled for flashlite and other apps that allocate mem through policy server
|
|
68 |
close_app uid="101FD693" priority="80" sync_mode="check" close_timeout="3000" wait_after_close="5000"
|
|
69 |
-->
|
|
70 |
<close_app uid="AF00ABBA" priority="NEVER_CLOSE" sync_mode="check"></close_app> <!--QtLauncher-->
|
|
71 |
<close_app uid="102033E6" priority="NEVER_CLOSE" sync_mode="check"></close_app> <!--JavaLauncher-->
|
|
72 |
<close_app uid="20016BF0" priority="1" sync_mode="check"></close_app> <!--Task Swapper-->
|
|
73 |
<close_app uid="2000FDC3" priority="1" sync_mode="check"></close_app> <!--ScreenSaver-->
|
|
74 |
|
|
75 |
</app_close_settings>
|
|
76 |
|
|
77 |
<!-- The priority of executing each system plugin is defined here.
|
|
78 |
System plugin is a plugin, which priority is not related to any application.
|
|
79 |
-->
|
|
80 |
<system_plugin_settings>
|
|
81 |
<!-- The uid DEFAULT_PLUGIN refers to all plugins, which priority is not specificly
|
|
82 |
defined in the conf file.
|
|
83 |
-->
|
|
84 |
<system_plugin uid="DEFAULT_PLUGIN" priority="10" sync_mode="check" sw_rend="not_supported"></system_plugin>
|
|
85 |
<system_plugin uid="2002DC75" priority="3" sync_mode="continue" sw_rend="supported"></system_plugin> <!-- HbThemeserverOOGMPLUGIN? -->
|
|
86 |
<system_plugin uid="E4B6C988" priority="4" sync_mode="check" sw_rend="supported"></system_plugin> <!-- ALFOOGMPLUGIN -->
|
|
87 |
<system_plugin uid="2002C30A" priority="5" sync_mode="continue"></system_plugin> <!-- FLASHOOGMPLUGIN -->
|
|
88 |
</system_plugin_settings>
|
|
89 |
|
|
90 |
<!-- The priority of executing each application plugin is defined here.
|
|
91 |
Application plugin is a plugin, which priority depends on the target application.
|
|
92 |
The target application must be defined for each application plugin.
|
|
93 |
By default all plugins are system plugins unless specifically defined as application
|
|
94 |
plugin in this section.
|
|
95 |
-->
|
|
96 |
<app_plugin_settings>
|
|
97 |
</app_plugin_settings>
|
|
98 |
</goom_config>
|