Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting error in Map module #8

Open
shanmugavadivelps opened this issue Nov 12, 2021 · 1 comment
Open

getting error in Map module #8

shanmugavadivelps opened this issue Nov 12, 2021 · 1 comment

Comments

@shanmugavadivelps
Copy link

I have run the tool as follows with ram of 35 gb

java -jar VirGenA.jar map -c config_copy.xml

got error
DEBUG 2021-11-12 13:14:59 BlockCompressedOutputStream Using deflater: Deflater
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
at htsjdk.samtools.BAMFileWriter.writeAlignment(BAMFileWriter.java:127)
at htsjdk.samtools.SAMFileWriterImpl.addAlignment(SAMFileWriterImpl.java:190)
at BamPrinter.printBAM(BamPrinter.java:321)
at Mapper.run(Mapper.java:574)
at VirGenA.main(VirGenA.java:31)

@gFedonin
Copy link
Owner

gFedonin commented Jan 4, 2022

Hello! Sorry for the late answer: I've missed the question somehow. Have you tried adding -Xmx30G option to java? By default it use only 4Gb. The full command will look like:

java -Xmx30G -jar VirGenA.jar map -c config_copy.xml

If this doesn't help, please tell me more details: the genome length, the read length, the number of reads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants