| Home · All Classes · Grouped Classes · Annotated · Functions |
The LowMemoryTask class reponds to low memory situations by closing applications. More...
#include <LowMemoryTask>
Inherits QObject.
The LowMemoryTask class reponds to low memory situations by closing applications.
The LowMemoryTask provides a Qtopia Server Task. Qtopia Server Tasks are documented in full in the QtopiaServerApplication class documentation.
| Task Name | LowMemoryTask |
| Interfaces | None |
| Services | None |
The LowMemoryTask monitors memory pressure through the default MemoryMonitor providing task. The following table describes the action taken by this task at each memory level.
| Memory State | Action |
|---|---|
| MemoryMonitor::MemUnknown | No action. |
| MemoryMonitor::MemNormal | No action. |
| MemoryMonitor::MemLow | A quitIfInvisible() message is sent to the first running, non-preloaded application. If this application is in the lazy-application-shutdown state it will consequently terminate. |
| A RecoverMemory() message is sent to the QPE/System channel. Applications may use this as a trigger to recover memory or to free caches. | |
| MemoryMonitor::MemVeryLow | A quitIfInvisible() message is sent to all running, non-preloaded applications. If these applications are in the lazy-application-shutdown state they will consequently terminate. |
| A RecoverMemory() message is sent to the QPE/System channel. Applications may use this as a trigger to recover memory or to free caches. | |
| MemoryMonitor::MemCritical | A quitIfInvisible() message is sent to all running, non-preloaded applications. If these applications are in the lazy-application-shutdown state they will consequently terminate. |
| A RecoverMemory() message is sent to the QPE/System channel. Applications may use this as a trigger to recover memory or to free caches. | |
| The most recently launched application is forcibly killed. The most recently launched application refers to that most recently executed by the system, not the most recently raised. |
Destroys the LowMemoryTask instance.
| Copyright © 2007 Trolltech | Trademarks | Qtopia 4.2.5 |