Text this: Adaptive memory reservation strategy for heavy workloads in the Spark environment