Ngone51 commented on pull request #29785:
URL: https://github.com/apache/spark/pull/29785#issuecomment-696745570


   > TaskMemoryManager tries to allocate the memory backing the small array 
using MemoryManager, but MemoryManager is unwilling to give it any memory, as 
the TaskMemoryManager is still holding on to the memory it got for the large 
array.
   
   Doesn't the `UnsafeInMemorySorter` release the old large point array before 
requiring the new small point array? Why would `TaskMemoryManager` still hold 
the memory of the large array(I assume you mean the large point array)?


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