srowen opened a new pull request #23600: [SPARK-26228][MLLIB] OOM issue 
encountered when computing Gramian matrix
URL: https://github.com/apache/spark/pull/23600
 
 
   ## What changes were proposed in this pull request?
   
   Avoid memory problems in closure cleaning when handling large Gramians (>= 
16K rows/cols) by using null as zeroValue
   
   ## How was this patch tested?
   
   Existing tests.
   Note that it's hard to test the case that triggers this issue as it would 
require a large amount of memory and run a while. I confirmed locally that a 
16K x 16K Gramian failed with tons of driver memory before, and didn't fail 
upfront after this change.

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