You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/01/08 00:26:50 UTC

[GitHub] gatorsmile commented on a change in pull request #23401: [SPARK-26513][Core] : Trigger GC on executor node idle

gatorsmile commented on a change in pull request #23401: [SPARK-26513][Core] : Trigger GC on executor node idle
URL: https://github.com/apache/spark/pull/23401#discussion_r245843791
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/executor/Executor.scala
 ##########
 @@ -628,6 +630,22 @@ private[spark] class Executor(
           }
       } finally {
         runningTasks.remove(taskId)
+        if(idleGCEnabled) {
+          if (runningTasks.isEmpty) {
 
 Review comment:
   Yes. See the paper. https://people.eecs.berkeley.edu/~maas/papers/maas-asplos16-taurus.pdf A holistic GC is better; otherwise, let Spark end users do it, like what I suggested above. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org