husonlab / malt

MEGAN alignment tool
GNU General Public License v3.0
3 stars 2 forks source link

malt-build error #2

Open myshu2017-03-14 opened 6 years ago

myshu2017-03-14 commented 6 years ago

Hi,

I used the following command to build the index for my databases:

malt-build -i h_abfpv_genome.fasta -s DNA -d h_abfpv_genome -t 10 -a2taxonomy nucl_acc2tax-Oct2017.abin

(The default the maximum memory usage is 64G) But it exit for the error as below:

Version MALT (version 0.4.0, built 6 Sep 2017) Copyright (C) 2017 Daniel H. Huson. This program comes with ABSOLUTELY NO WARRANTY. Reference sequence type set to: DNA Seed shape(s): 111110111011110110111111 Reading file: h_abfpv_genome.fasta 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% (3064.9s) Number of sequences: 317085 Number of letters: 47386139371 BUILDING table (0)... Number of seeds in references: 47378846416 TableSize= 2147483639 hashMask.length= 31 maxHitsPerHash set to: 1000 Initializing arrays... 100% (0.0s) Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00002b9694080000, 17179869184, 0) failed; error='Cannot allocate memory' (errno=12)

I tried to adjust the maximum memory usage to 128G, But it doesn't work...Can anyone help me ?

Thanks very much! Best wishes, Myshu