It is perhaps unfortunate that SPARK_WORKER_MEMORY actually does exist, and controls the total amount of memory that a worker can lease across all executors on a machine. Since this is not the property we want, perhaps we'll be relegated to "-em --executormem" (kinda ugly, maybe there's something nicer-looking).