There is a big:
https://github.com/apache/spark/blob/master/bin/spark-submit#L27

This should say SPARK_DRIVER_MEMORY