|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-DB6F586B-932A-4BDC-BA48-79C7D3FD9931" xml:lang="en"><title>OOM |
|
13 Plug-ins</title><shortdesc>This section describes OOM plug-ins and how the priority of OOM |
|
14 plug-ins can be specified.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
15 <p>An OOM plug-in is a gateway component, which releases RAM from a running |
|
16 application or server. The function of OOM plug-in is to delegate the OOM |
|
17 commands from OOM Monitor to the application. Each application provides its |
|
18 own OOM plug-in, which allows OOM Monitor to communicate with that application. |
|
19 The application associated with an OOM plug-in is referred as the target application |
|
20 of the plug-in. </p> |
|
21 <section id="GUID-61B51FD7-A314-4779-99BC-660276A409B5"><title>Priority for |
|
22 OOM Plug-ins</title><p>Each OOM plug-in has a priority assigned by the OOM |
|
23 Monitor in the configuration file. The priority of an OOM plug-in determines |
|
24 the priority of the optional RAM allocation. For more information on setting |
|
25 the priorities in the configuration file, refer to <xref href="GUID-178488C1-5453-490F-B168-9D73DB5BAE47.dita">Priority |
|
26 Configuration</xref>. OOM Monitor uses the lowest priority action to release |
|
27 RAM whether it is closing an application or calling a plug-in. </p><p>In the |
|
28 OOM Monitor configuration file, the priority of a plug-in should |
|
29 always be configured lower than the priority of its target application. Otherwise |
|
30 the plug-in will never be used for releasing RAM, because the target application |
|
31 is always closed before calling the plug-in.</p></section> |
|
32 <section id="GUID-F5AE7E31-0E65-42F9-8145-18E16F3241BE"><title>Related Links</title><ul> |
|
33 <li><p><xref href="GUID-7D727FC9-EF32-49FD-B72E-E1E00315206E.dita">Optional RAM |
|
34 Allocation</xref></p></li> |
|
35 <li><p><xref href="GUID-217C992B-AC56-42A7-9920-DEC891D233A5.dita">Requesting for |
|
36 Optional RAM Allocation</xref></p></li> |
|
37 </ul></section> |
|
38 </conbody></concept> |