参考: Spark Job History Server OutOfMemoryError Setting Spark History Heap Size How to set extra JVM options for Spark History Server