bbduk error assigning memory

Bug #1928401 reported by Gastón Viarengo
6
This bug affects 1 person
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/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.

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
ProcVersionSignature: Ubuntu 5.8.0-50.56~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-50-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.17
Architecture: amd64
CasperMD5CheckResult: skip
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)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=es_AR:es
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_AR.UTF-8
 SHELL=/bin/bash
SourcePackage: bbmap
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Gastón Viarengo (gastonviarengo) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.