Is it possible to free memory from previous phases of a graph?
I’ve got a graph that has multiple phases, the last of which does a ExtSort and then Rollup. This usually works fine, but if the input file is unusually large the graph dies with a “java.lang.OutOfMemoryError: Java heap space”. error from the ExtSort. Some of the earlier phases perform ExtSort’s with no problems.
(I’m using the -Xmx512 setting)
I’m wondering if there’s a way to free some of the earlier phase components from memory?