SongYadong commented on issue #23497: [SPARK-26578][CORE] Synchronize 
putBytes's memory allocation and putting block on memoryManager
URL: https://github.com/apache/spark/pull/23497#issuecomment-457453790
 
 
   > In your test, no blocks in entries when task 2 try to evict blocks, right 
? So, how can we say _we evicted all entries but still got smaller free space_ 
? From my view, task 2 does not evict any blocks, so it can not accquire enough 
free memory.
   
   For simple, my test puts only one block(block1) into it. If we put some 
blocks into entries before putting block1, task 2 will evict them _all_ first. 
So we can say we evicted all entries but still got smaller free space than 
whole pool size?

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