This section describes how a third-party application can increase its OOM priority by using OOM Monitor APIs.
Third-party applications that needs to be running all the time can increase their priority to High from the default level ( Normal ). By increasing the priority, applications can protect itself from being closed by the OOM Monitor. For example:
IP Phone application receiving IP calls
Instant Messaging application receiving messages
are applications which listens for events from the network all the time.
ROomMonitorSession ioomMonitorSession; CleanUpClosePushL(ioomMonitorSession); User::LeaveIfError(ioomMonitorSession.Connect());
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License v1.0.