To celebrate the release of GATK 4.0, we are giving away free credits for running the GATK4 Best Practices pipelines in FireCloud, our secure online analysis portal. It’s first come first serve, so sign up now to claim your free credits worth $250. Sponsored by Google Cloud. Learn more at https://software.broadinstitute.org/firecloud/documentation/freecredits

CreateSequenceDictionary OutOfMemoryError

I'm running CreateSequenceDictionary on a Windows 10 machine with 4 gigabytes of ram and more than 50 gigabytes of free disk space, while my human dna reference file is nearly 3 gigabytes. The same problem does not appear whenever I use a very small fasta file made for demonstration purposes and the dict is normally created. Here's the error I keep getting

Runtime.totalMemory()=259522560
To get help, see http://picard.sourceforge.net/index.shtml#GettingHelp
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at htsjdk.samtools.reference.IndexedFastaSequenceFile.getSubsequenceAt(IndexedFastaSequenceFile.java:185)
at htsjdk.samtools.reference.IndexedFastaSequenceFile.getSequence(IndexedFastaSequenceFile.java:164)
at htsjdk.samtools.reference.IndexedFastaSequenceFile.nextSequence(IndexedFastaSequenceFile.java:241)
at picard.sam.CreateSequenceDictionary.makeSequenceDictionary(CreateSequenceDictionary.java:141)
at picard.sam.CreateSequenceDictionary.doWork(CreateSequenceDictionary.java:121)
at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:183)
at picard.sam.CreateSequenceDictionary.main(CreateSequenceDictionary.java:97)

Best Answer

Answers

Sign In or Register to comment.