A wrapper class for Split mode.
A wrapper class for Split mode. In case of split mode UMM stats update will be a no-op
When there is request for execution or storage memory, critical up and eviction up events are checked.
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.
Base trait for different memory manager used by SnappyData in different modes
This package implements Spark's memory management system. This system consists of two main components, a JVM-wide memory manager and a per-task manager:
Internally, each of these components have additional abstractions for memory bookkeeping:
Diagrammatically:
There are two implementations of org.apache.spark.memory.MemoryManager which vary in how they handle the sizing of their memory pools: