diff -r 51a74ef9ed63 -r ae94777fff8f Symbian3/SDK/Source/GUID-217C992B-AC56-42A7-9920-DEC891D233A5.dita --- a/Symbian3/SDK/Source/GUID-217C992B-AC56-42A7-9920-DEC891D233A5.dita Wed Mar 31 11:11:55 2010 +0100 +++ b/Symbian3/SDK/Source/GUID-217C992B-AC56-42A7-9920-DEC891D233A5.dita Fri Jun 11 12:39:03 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