--- a/kernel/eka/include/e32const.h Tue Sep 14 23:56:21 2010 +0300
+++ b/kernel/eka/include/e32const.h Wed Sep 15 13:42:27 2010 +0300
@@ -2409,7 +2409,7 @@
/**
- The free memory level has crossed a specified threshold value.
+ The system's free memory level has crossed a specified threshold value.
On systems that support data paging, this is also generated where the available swap space
crosses one of the specified threshold values.
@@ -2418,13 +2418,20 @@
/**
- A memory allocation has failed due to insufficient free memory.
+ A memory allocation has failed due to insufficient free memory somewhere in the system.
+
+ Please note that this notifcation is generated when any memory allocation fails, not just
+ allocations attempted by the current process.
+
+ This is designed to notify a system memory manager component when a memory allocation failed
+ even when the system's memory has not crossed the low-memory threshold. It should not be used
+ as part of a memory management strategy within a single process.
*/
EChangesOutOfMemory=0x40,
/**
- The free memory level has fallen below the low-memory threshold
+ The system's free memory level has fallen below the low-memory threshold
@see UserSvr::SetMemoryThresholds()
*/
EChangesLowMemory=0x80,