Hello rexsham,
I think it may be reasonable to continue only if you extend the amount of virtual memory on the processing node to avoid "not enough memory" ("bad allocation") error again.
To reduce the memory consumption for the dense cloud generation stage you can use max_neighbors tweak, but it would require to start dense cloud generation again (even though the depth maps can be re-used).