bbduk error assigning memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bbmap (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using Ubuntu 20.04.2 LTS. I've installed bbmap (version 38.79+dfsg-1) through "sudo apt-get install bbmap". 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/
/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/
Invalid maximum heap size: -Xmxm
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Downloading the package, untaring it and adding the path to the directory in the .bashrc file prompts the same error when running the above described commands. Also, the folder /calcmem does indeed do not exist.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bbmap 38.79+dfsg-1
ProcVersionSign
Uname: Linux 5.8.0-50-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu May 13 21:41:24 2021
InstallationDate: Installed on 2020-12-05 (160 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitec
ProcEnviron:
LANGUAGE=es_AR:es
PATH=(custom, no user)
XDG_RUNTIME_
LANG=es_AR.UTF-8
SHELL=/bin/bash
SourcePackage: bbmap
UpgradeStatus: No upgrade log present (probably fresh install)