This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Fastqc Exception Problem

Hello, I am running fastqc on Ubuntu 20.04.4 LTS. While doing that, after some time this error message is coming up-

Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space at uk.ac.babraham.FastQC.Modules.GCModel.GCModel.<init>(GCModel.java:69) at uk.ac.babraham.FastQC.Modules.PerSequenceGCContent.processSequence(PerSequenceGCContent.java:198) at uk.ac.babraham.FastQC.Analysis.AnalysisRunner.run(AnalysisRunner.java:89) at java.base/java.lang.Thread.run(Thread.java:829) enter image description here

fastqc fastq

FastQC ran out of memory. Do you have a small amount of memory available? Are you using virtual machine?

I am not using virtual machine. I have dual boot of windows 10 and Ubuntu. How do I add memory in fastqc?

1 answer

Try running fastqc -t 2 youfile. See if that works. This hack assigns more memory to FastQC.

Yes, I am booted into Ubuntu now. Ubuntu has 80GB memory in total and currently it has 68GB free memory left.

You are referring to disk storage not RAM. Can you try the command I suggested above to see if the job works.

Thank you so much. This worked and the fastqc analysis has been completed.

Log in to answer this question.