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

allow more RAM for java #8

Closed
gaworj opened this issue Jan 19, 2023 · 1 comment
Closed

allow more RAM for java #8

gaworj opened this issue Jan 19, 2023 · 1 comment

Comments

@gaworj
Copy link

gaworj commented Jan 19, 2023

Hi,

Thank you very much for such great tool!

Is it possible to set more RAM for java to allow tinycov to operate on larger bam files?

I have encountered such error in case of larger bam files:

line 44: 8684 Segmentation fault (core dumped) tinycov covplot -r 1000 -s 500 -n $prefix $wdir/$out -o $wdir/$prefix"_coverage_plot"
Command line run, unsetting DISPLAY variable...
Display:
Java memory size is set to 1200M
Launching application...

Bests,
Jan

@cmdoret
Copy link
Owner

cmdoret commented Jan 19, 2023

Hi @gaworj,

Thanks for your feedback! :)
Tinycov does not use or rely on Java as far as I know. Is it possible that you are running the command inside some kind of virtual machine that is written in java (like Virtualbox). If so, the message you see indicates that the RAM used by tinycov exceeds the RAM allocated to the VM.

I am currently working on a partial rewrite of tinycov that works in streams and does not require much RAM, but I don't know how much time it'll take.

@cmdoret cmdoret closed this as completed Aug 13, 2024
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