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


   > Using this VariableLinkedBlockingQueue, we are increasing certain 
percentage threshold for size of the queue at run time, Which is less 
aggressive compare to keeping the Integer.MAX_VALUE, Also I am planning to add 
the validation of spark driver memory to increase the size of the 
VariableLinkedBlockingQueue
   
   IIUC, `LinkedBlockingQueue` doesn't really allocate all the memory in once 
by setting the capacity to `Integer.MAX_VALUE`.
   It also increase memory usage gradually at runtime.


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