This is not the only condition where we want to do this. For example we might also want it for MEMORY_ONLY_SER, where the serialized data might fit in RAM but the ArrayBuffer of raw objects might not. (Especially if you set spark.rdd.compress to compress the serialized data.)