Symbian3/PDK/Source/GUID-50CA5439-29A1-426C-83BA-EC048FE86CDE.dita
changeset 9 59758314f811
parent 5 f345bda72bc4
child 12 80ef3a206772
equal deleted inserted replaced
8:ae94777fff8f 9:59758314f811
    17 amount of RAM is not over <xref href="GUID-75DB7CA6-08F0-3CFB-ADDF-621FFF5B8058.dita"><apiname>KOomMaxAllocationWithoutPermission</apiname></xref> limit.
    17 amount of RAM is not over <xref href="GUID-75DB7CA6-08F0-3CFB-ADDF-621FFF5B8058.dita"><apiname>KOomMaxAllocationWithoutPermission</apiname></xref> limit.
    18  </p><p>If an application needs to allocate more RAM than allocated by <xref href="GUID-75DB7CA6-08F0-3CFB-ADDF-621FFF5B8058.dita"><apiname>KOomMaxAllocationWithoutPermission</apiname></xref>,
    18  </p><p>If an application needs to allocate more RAM than allocated by <xref href="GUID-75DB7CA6-08F0-3CFB-ADDF-621FFF5B8058.dita"><apiname>KOomMaxAllocationWithoutPermission</apiname></xref>,
    19 it must request the OOM Monitor using the <xref href="GUID-02D1911A-D2E5-3D28-9B05-75DA0A75DE73.dita#GUID-02D1911A-D2E5-3D28-9B05-75DA0A75DE73/GUID-BE322080-5193-3D8E-9425-C6BEA920ED2E"><apiname>ROomMonitorSession::RequestFreeMemory()</apiname></xref> method. </p><p>An
    19 it must request the OOM Monitor using the <xref href="GUID-02D1911A-D2E5-3D28-9B05-75DA0A75DE73.dita#GUID-02D1911A-D2E5-3D28-9B05-75DA0A75DE73/GUID-BE322080-5193-3D8E-9425-C6BEA920ED2E"><apiname>ROomMonitorSession::RequestFreeMemory()</apiname></xref> method. </p><p>An
    20 application can request for free RAM either synchronously or asynchronously.</p> 
    20 application can request for free RAM either synchronously or asynchronously.</p> 
    21  </context>
    21  </context>
    22 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-10-1-11-1-1-9-1-5-1-6-1-6-1-3-2">
    22 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-12-1-12-1-1-9-1-5-1-6-1-6-1-3-2">
    23 <step id="GUID-83631E4F-71D0-4FD2-8FD6-46689AAFA761-GENID-1-10-1-11-1-1-9-1-5-1-6-1-6-1-3-2-1"><cmd>Create an OOM Monitor
    23 <step id="GUID-83631E4F-71D0-4FD2-8FD6-46689AAFA761-GENID-1-12-1-12-1-1-9-1-5-1-6-1-6-1-3-2-1"><cmd>Create an OOM Monitor
    24 session</cmd>
    24 session</cmd>
    25 <info><codeblock xml:space="preserve">ROomMonitorSession ioomMonitorSession;
    25 <info><codeblock xml:space="preserve">ROomMonitorSession ioomMonitorSession;
    26 CleanUpClosePushL(ioomMonitorSession);
    26 CleanUpClosePushL(ioomMonitorSession);
    27 User::LeaveIfError(ioomMonitorSession.Connect());
    27 User::LeaveIfError(ioomMonitorSession.Connect());
    28 </codeblock></info>
    28 </codeblock></info>
    29 </step>
    29 </step>
    30 <step id="GUID-83631E4F-71D0-4FD2-8FD6-46689AAFA761-GENID-1-10-1-11-1-1-9-1-5-1-6-1-6-1-3-2-2"><cmd>Request for free
    30 <step id="GUID-83631E4F-71D0-4FD2-8FD6-46689AAFA761-GENID-1-12-1-12-1-1-9-1-5-1-6-1-6-1-3-2-2"><cmd>Request for free
    31 memory can be done in two ways:</cmd>
    31 memory can be done in two ways:</cmd>
    32 </step>
    32 </step>
    33 </steps>
    33 </steps>
    34 <result id="GUID-1D804A3D-8EEC-4E62-8496-2A43CCDC0BEB"><p>The OOM Monitor
    34 <result id="GUID-1D804A3D-8EEC-4E62-8496-2A43CCDC0BEB"><p>The OOM Monitor
    35 allows the client application to allocate memory, if the free RAM level is
    35 allows the client application to allocate memory, if the free RAM level is