When there is request for execution or storage memory, critical up and eviction up
events are checked. If they are set, try to free the memory cached by Spark rdds
by calling memoryStore.evictBlocksToFreeSpace. If enough memory cannot be freed,
return the call and let Spark take a corrective action.
In such cases Spark either fails the task or move the current RDDs data to disk.
If the critical and eviction events are not set, it asks the UnifiedMemoryManager
to allocate the space.
Linear Supertypes
UnifiedMemoryManager, MemoryManager, Logging, AnyRef, Any
When there is request for execution or storage memory, critical up and eviction up events are checked. If they are set, try to free the memory cached by Spark rdds by calling memoryStore.evictBlocksToFreeSpace. If enough memory cannot be freed, return the call and let Spark take a corrective action. In such cases Spark either fails the task or move the current RDDs data to disk. If the critical and eviction events are not set, it asks the UnifiedMemoryManager to allocate the space.