Closed XieHongX closed 7 months ago
The error message is: ... gimble.py", line 1014, in tally_variation mutuples = np.concatenate( ^^^^^^^^^^^^^^^ numpy.core._exceptions._ArrayMemoryError: Unable to allocate 188. GiB for an array with shape (5038150000, 5) and data type int64
Hi,
I am analysing a data set of 18+17 sample size and ~1.5 GB genome. I used block length 145bp because the genetic diversity of my species is lower. Then I want to use a window size of 500 as in your original paper, so run gimble windows with -w 150000 -s 30000. it turns out giving error message because of out of memory usage (there is 512 GB of memory in total!). Shall I increase the window size or decrease it in order to reduce memory usage?
Alternatively, is there a way to reduce memory usage while keeping the desired sample size?
Best, Hongxin