Closed andgan closed 1 year ago
Hey! So the issue here is most likely due to the change in the default dbSNP version - MSS 1.6.0 uses dbSNP 155 (the latest version) which contains far more SNPs than 144, the old version used. This results in a larger memory requirement to use it. You could avoid this but switching back to version 144 using the dbSNP = 144
parameter. However, this is not recommended and I would instead advise running the code on a larger RAM machine - what are you currently running it on? Also make sure you have nothing else using RAM in the background on the machine.
Hope this helps, Alan.
Thanks! I actually now have increased memory in Rstudio using this suggestion: https://stackoverflow.com/questions/51295402/r-on-macos-error-vector-memory-exhausted-limit-reached and it work!
1. Bug description
I'm using the latest version of MungeSumstats (1.6.0) and I start to see Error: vector memory exhausted (limit reached?) for many summary statistics. I didn't have this problem with an older version of MungeSumstats based on R 4.1.1. The error typically after Loading SNPlocs data message is printed.
Console output
Expected behaviour
(A clear and concise description of what you expected to happen.)
3. Session info
(Add output of the R function
utils::sessionInfo()
below. This helps us assess version/OS conflicts which could be causing bugs.)