Hi Laurent,
Thanks a lot for the tips. The XOR tool I used already has the tile option. I were using 1000 micron tile size (about 50 circles in one tile).
However, it still eat up 30GB RAM and throw out the bad_alloc error. I tried 500 micron tile…
here is the wired part. It is not very repeatable error. I did not even have more than 1E5 cols or rows. It was 5000x5000. And today I tried again, it works OK now. I even tried array of array: 5000x5000 array as a cell then 10x10 array of that cell…