Script from one such failure:
2018-11-16 11:27:53 BuildTexture: mapping mode = Generic, texture count = 1, blending mode = Disabled, texture size = 4096, fill holes = 0, ghosting filter = 0
2018-11-16 11:27:53 Parameterizing texture atlas...
2018-11-16 11:28:33 Packing 31 charts
2018-11-16 11:28:44 Parameterizing done in 50.579 sec
2018-11-16 11:28:44 Blending textures...
2018-11-16 11:28:44 blending textures...
*******Finished processing in 55.001 sec (exit code 0)
2018-11-16 11:28:48 Error: bad allocation
Not a big model. 108 cameras, 147228 points