The code below works fine if factors is small but when it gets larger I get a segmentation fault.The first instance I have encountered is at a size of ~800.000. This should easily fit into memory or what am I missing? Appreciate any help.
char *fgs_arr [facs().size()],
*true_arr[facs().size()],
*maps_arr[facs().size()];