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

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

To get help, see
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at htsjdk.samtools.reference.IndexedFastaSequenceFile.getSubsequenceAt(
at htsjdk.samtools.reference.IndexedFastaSequenceFile.getSequence(
at htsjdk.samtools.reference.IndexedFastaSequenceFile.nextSequence(
at picard.sam.CreateSequenceDictionary.makeSequenceDictionary(
at picard.sam.CreateSequenceDictionary.doWork(
at picard.cmdline.CommandLineProgram.instanceMain(
at picard.sam.CreateSequenceDictionary.main(

Best Answer


Sign In or Register to comment.