srowen commented on a change in pull request #23426: [CORE][MINOR] Let 
acquireUnrollMemory fail fast if required space exceeds memory limit
URL: https://github.com/apache/spark/pull/23426#discussion_r245053284
 
 

 ##########
 File path: core/src/test/scala/org/apache/spark/storage/MemoryStoreSuite.scala
 ##########
 @@ -291,11 +291,11 @@ class MemoryStoreSuite
     blockInfoManager.removeBlock("b3")
     putIteratorAsBytes("b3", smallIterator, ClassTag.Any)
 
-    // Unroll huge block with not enough space. This should fail and kick out 
b2 in the process.
+    // Unroll huge block with not enough space. This should fail.
 
 Review comment:
   Seems OK to me. Maybe @JoshRosen would like to comment. If the allocation is 
known to fail because it can't possibly allocate that much memory, I agree that 
there's no need to evict blocks.

----------------------------------------------------------------
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