viirya commented on a change in pull request #32667:
URL: https://github.com/apache/spark/pull/32667#discussion_r639399221



##########
File path: python/pyspark/rdd.py
##########
@@ -2067,7 +2067,7 @@ def add_shuffle_key(split, iterator):
                     avg = int(size / n) >> 20
                     # let 1M < avg < 10M
                     if avg < 1:
-                        batch *= 1.5

Review comment:
       Actually when `get_used_memory() > limit` is true, I don't know why we 
want to increase `batch *= 1.5`. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to