zhengruifeng commented on pull request #35457: URL: https://github.com/apache/spark/pull/35457#issuecomment-1034447835
there are two limits: 1, array size, must be less than `Int.MaxValue`; 2, its size should fit in memory for initialization and broadcasting. with --driver-memory=8G, I can not create an array of 1250025000 doubles. If we switch to arrays of arrays, I am afraid it's prone to OOM for large K. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
