HyukjinKwon commented on issue #21977: [SPARK-25004][CORE] Add 
spark.executor.pyspark.memory limit.
URL: https://github.com/apache/spark/pull/21977#issuecomment-456163212
 
 
   > If the threshold for spilling is the total size limit, then Python would 
run out of memory before it started spilling data.
   
   Oh, BTW, I don't think it's true since it already uses less memory then what 
it sets.
   
   
https://github.com/apache/spark/blob/c2d0d700b551e864bb7b2ae2a175ec8ade704488/python/pyspark/rdd.py#L1761-L1762
   
   
https://github.com/apache/spark/blob/c2d0d700b551e864bb7b2ae2a175ec8ade704488/python/pyspark/rdd.py#L626
   
   
https://github.com/apache/spark/blob/c2d0d700b551e864bb7b2ae2a175ec8ade704488/python/pyspark/rdd.py#L654

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to