Hi,
I'm trying to analyze a large dataset (>100K individuals, ~2K markers).
I have been specifying "
--memory 3500" (I should allocate less than 4GB in RAM in a server) and most Plink functions seem to work fine, but when running "
--mds-plot", I invariably get an "out of memory" error, even when specifying "
--memory".
Below is the log file. Could you please provide some advice? Thanks
-------
PLINK v1.90b4.4 64-bit (21 May 2017)
Options in effect:
--bfile theinput
--cluster
--extract getsnps.snplist.txt
--mds-plot 4
--memory 3500
--mind .05
--out theoutput
--silent
Hostname: thehost.local
Working directory: /path/to/files
Start time: Thu Jun 22 13:23:56 2017
Random number seed: 1498163036
64380 MB RAM detected; reserving 3500 MB for main workspace.
XXXX variants loaded from .bim file.
XXXXXX people (XXXXX males, XXXXX females) loaded from .fam.
--extract: XXXX variants remaining.
136 people removed due to missing genotype data (--mind).
IDs written to theoutput.irem .
Using up to 15 threads (change this with --threads).
Before main variant filters, XXXXXX founders and 0 nonfounders present.
Calculating allele frequencies... done.
Total genotyping rate in remaining samples is 0.995424.
XXXX variants and XXXXXX people pass filters and QC.
Note: No phenotypes present.
Error: Out of memory. The --memory flag may be helpful.
Failed allocation size: 94347879936
End time: Thu Jun 22 13:23:56 2017