Github user jiangxb1987 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19135#discussion_r138993630
  
    --- Diff: 
core/src/main/scala/org/apache/spark/storage/memory/MemoryStore.scala ---
    @@ -325,6 +325,10 @@ private[spark] class MemoryStore(
     
         // Whether there is still enough memory for us to continue unrolling 
this block
         var keepUnrolling = true
    +    // Number of elements unrolled so far
    +    var elementsUnrolled = 0L
    +    // How often to check whether we need to request more memory
    +    val memoryCheckPeriod = 16
    --- End diff --
    
    Should this be made configurable? Or can we make sure it's the best magic 
number that we can choose?


---

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

Reply via email to