Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

bbduk memory error #37

Open
GastonViarengo opened this issue May 10, 2021 · 0 comments
Open

bbduk memory error #37

GastonViarengo opened this issue May 10, 2021 · 0 comments

Comments

@GastonViarengo
Copy link

GastonViarengo commented May 10, 2021

Hello everyone,

I've installed bbmap throw sudo apt-get install bbmap and also by downloading the package, untaring it and adding the path to the directory in the .bashrc file. However, when running bbduk.sh --version or a script bbduk.sh -Xmx... (I've tried with -Xmx5g, -Xmx4g, -Xmx1g, -Xmx800m, -Xmx100m and without setting -Xmx on a 8 gb RAM machine) I get the following error:

/usr/bin/bbduk.sh: línea 344: /usr/share/bbmap/calcmem: No existe el archivo o el directorio
/usr/bin/bbduk.sh: línea 345: setEnvironment: orden no encontrada
/usr/bin/bbduk.sh: línea 346: parseXmx: orden no encontrada
/usr/bin/bbduk.sh: línea 350: freeRam: orden no encontrada
java -Xmxm -Xmsm -cp /usr/share/java/bbmap.jar jgi.BBDuk --version
Invalid maximum heap size: -Xmxm
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Also, the folder /calcmem does indeed do not exist. Any ideas on how to solve this problem?

Thank you!

#bbduk #memory #java #bbtools

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

No branches or pull requests

1 participant