How Spark Applications use Memory CPU & its calculation - Edindx