16 default_wait_after_plugin defines how long is waited (in milliseconds) after |
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 |
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 |
18 actions are needed. This value is meaningful only when "check" or "estimate" sync mode is |
19 used with plugins. |
19 used with plugins. |
20 --> |
20 --> |
21 <global_settings low_ram_threshold="3637" good_ram_threshold="10000" max_app_close_batch="3" default_wait_after_plugin="500"> |
21 <global_settings low_ram_threshold="3637" good_ram_threshold="10000" max_app_close_batch="3" default_wait_after_plugin="300"> |
22 </global_settings> |
22 </global_settings> |
23 |
23 |
24 <!-- Application specific low RAM and good RAM thresholds are defined here. The higher values of |
24 <!-- Application specific low RAM and good RAM thresholds are defined here. The higher values of |
25 the low and good thresholds are defined to avoid GOOM errors with these applications when the default |
25 the low and good thresholds are defined to avoid GOOM errors with these applications when the default |
26 threshold values are used. |
26 threshold values are used. |
27 --> |
27 --> |
28 <app_specific_thresholds> |
28 <app_specific_thresholds> |
29 |
29 |
30 <app uid="101F857A" low_ram_threshold="26000" good_ram_threshold="28000" target_free_on_startup="26000"></app> <!-- Camera --> |
30 <app uid="101F857A" low_ram_threshold="26000" good_ram_threshold="28000" target_free_on_startup="26000" skip_plugin="2002B3AE"></app> <!-- Camera --> |
31 <app uid="200159B2" low_ram_threshold="5000" good_ram_threshold="10000" target_free_on_startup="26000"></app> <!-- MPlayer --> |
31 <app uid="200159B2" low_ram_threshold="5000" good_ram_threshold="10000" target_free_on_startup="26000" skip_plugin="2002B3AE"></app> <!-- MPlayer --> |
32 <app uid="102824CD" low_ram_threshold="26000" good_ram_threshold="28000"></app> <!-- Embedded mplayer --> |
32 <app uid="102824CD" low_ram_threshold="26000" good_ram_threshold="28000" skip_plugin="2002B3AE"></app> <!-- Embedded mplayer --> |
33 <app uid="200009EE" low_ram_threshold="3637" good_ram_threshold="10000" target_free_on_startup="15000"></app> <!-- Photos --> |
33 <app uid="200009EE" low_ram_threshold="3637" good_ram_threshold="10000" target_free_on_startup="15000"></app> <!-- Photos --> |
|
34 <app uid="101FD693" low_ram_threshold="5000" good_ram_threshold="10000" target_free_on_startup="26000"></app> <!-- Flashlite --> |
34 |
35 |
35 </app_specific_thresholds> |
36 </app_specific_thresholds> |
36 |
37 |
37 <!-- The priority of closing each application is defined here. |
38 <!-- The priority of closing each application is defined here. |
38 --> |
39 --> |
39 <app_close_settings> |
40 <app_close_settings> |
40 <!-- The uid DEFAULT_APP refers to all applications, which priority is not specifically |
41 <!-- The uid DEFAULT_APP refers to all applications, which priority is not specifically |
41 defined in the conf file. |
42 defined in the conf file. |
42 --> |
43 --> |
43 <close_app uid="DEFAULT_APP" priority="80" sync_mode="check"> |
44 <close_app uid="DEFAULT_APP" priority="80" sync_mode="check" close_timeout="1000" wait_after_close="2000"> |
44 <app_close_idle_priority idle_time="900" priority="50"></app_close_idle_priority> |
45 <app_close_idle_priority idle_time="900" priority="50"></app_close_idle_priority> |
45 <app_close_idle_priority idle_time="43200" priority="20"></app_close_idle_priority> |
46 <app_close_idle_priority idle_time="43200" priority="20"></app_close_idle_priority> |
46 </close_app> |
47 </close_app> |
47 <!-- The uid BUSY_APP refers to applications, which have set the OOM priority BUSY |
48 <!-- The uid BUSY_APP refers to applications, which have set the OOM priority BUSY |
48 by using the GOOM Monitor API SetGOomPriority(). The priority NEVER_CLOSE |
49 by using the GOOM Monitor API SetGOomPriority(). The priority NEVER_CLOSE |
53 by using the GOOM Monitor API SetGOomPriority(). |
54 by using the GOOM Monitor API SetGOomPriority(). |
54 --> |
55 --> |
55 <close_app uid="HIGH_PRIORITY_APP" priority="90" sync_mode="check"> |
56 <close_app uid="HIGH_PRIORITY_APP" priority="90" sync_mode="check"> |
56 <app_close_idle_priority idle_time="43200" priority="20"></app_close_idle_priority> |
57 <app_close_idle_priority idle_time="43200" priority="20"></app_close_idle_priority> |
57 </close_app> |
58 </close_app> |
|
59 |
|
60 <!-- policy server takes time to release resources aftr apps close |
|
61 this line may be enabled for flashlite and other apps that allocate mem through policy server |
|
62 close_app uid="101FD693" priority="80" sync_mode="check" close_timeout="3000" wait_after_close="5000" |
|
63 --> |
58 </app_close_settings> |
64 </app_close_settings> |
59 |
65 |
60 <!-- The priority of executing each system plugin is defined here. |
66 <!-- The priority of executing each system plugin is defined here. |
61 System plugin is a plugin, which priority is not related to any application. |
67 System plugin is a plugin, which priority is not related to any application. |
62 --> |
68 --> |