Root cause: Due to an intensive call of get() function on frames the program was running out of memory for values bigger than 10^6 (number of rows of the final result).
Solution: Decouple the logic in order to only call the get() function only once for the intersection and once for each column while composing the result.
Root cause: Due to an intensive call of get() function on frames the program was running out of memory for values bigger than 10^6 (number of rows of the final result).
Solution: Decouple the logic in order to only call the get() function only once for the intersection and once for each column while composing the result.