diff -r ae94777fff8f -r 59758314f811 Symbian3/PDK/Source/GUID-217C992B-AC56-42A7-9920-DEC891D233A5.dita --- a/Symbian3/PDK/Source/GUID-217C992B-AC56-42A7-9920-DEC891D233A5.dita Fri Jun 11 12:39:03 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-217C992B-AC56-42A7-9920-DEC891D233A5.dita Fri Jun 11 15:24:34 2010 +0100 @@ -1,47 +1,47 @@ - - - - - -Allowing -Optional RAM AllocationThis section describes how an application can request from OOM -Monitor for optional RAM allocation. -

An application -can allocate RAM optionally by calling the ROomMonitorSession::RequestFreeMemory() method. -For more information on optional RAM, refer to Optional -RAM Allocation.

An application can release the optional RAM allocation -as soon as it is not needed anymore. An application can also keep the optional -RAM allocation until OOM Monitor requests to release it.

-
- -Create an OOM Monitor -session. -ROomMonitorSession ioomMonitorSession; -CleanUpClosePushL(ioomMonitorSession); -User::LeaveIfError(ioomMonitorSession.Connect()); - - -Request for optional -RAM. -iOomMonitorSession.RequestOptionalRam(aBytesRequested,aMinimumBytesNeeded,aPluginId,aBytesAvailable); -

- -Close the session. -iOomMonitorSession.Close(); - - - - -OOM Monitor -Plug-in -OOM Monitor -Overview -OOM Monitor -Reference + + + + + +Allowing +Optional RAM AllocationThis section describes how an application can request from OOM +Monitor for optional RAM allocation. +

An application +can allocate RAM optionally by calling the ROomMonitorSession::RequestFreeMemory() method. +For more information on optional RAM, refer to Optional +RAM Allocation.

An application can release the optional RAM allocation +as soon as it is not needed anymore. An application can also keep the optional +RAM allocation until OOM Monitor requests to release it.

+ + +Create an OOM Monitor +session. +ROomMonitorSession ioomMonitorSession; +CleanUpClosePushL(ioomMonitorSession); +User::LeaveIfError(ioomMonitorSession.Connect()); + + +Request for optional +RAM. +iOomMonitorSession.RequestOptionalRam(aBytesRequested,aMinimumBytesNeeded,aPluginId,aBytesAvailable); +

+ +Close the session. +iOomMonitorSession.Close(); + + + + +OOM Monitor +Plug-in +OOM Monitor +Overview +OOM Monitor +Reference \ No newline at end of file