added option for configuring Spark executor memory