Skip to content

[bug] Error, impossible heap size in WSL #648

@DrKamenIce

Description

@DrKamenIce

Description
I'm trying to run the Tutorial, but i always get the same error when running the verification step

bactopia -profile test,standard

When it reaches the qc tools, the script retried 3 times then it stops and gives the following error:

Command output:
  Skipping error correction since fastp was used
  Error occurred during initialization of VM
  Could not reserve enough space for 6267216297984 KB object heap

Command error:
  Skipping error correction since fastp was used
  java -ea  --add-modules jdk.incubator.vector -Xmx6120328397m -Xms6120328397m -cp /home/ice/.bactopia/conda/bioconda--bactopia-qc-1.0.3/opt/bbmap-39.52-0/current/ jgi.ReformatReads -Xmx6120328397 in=filt-r1.fq out=subsample-r1.fq in2=filt-r2.fq out2=subsample-r2.fq samplebasestarget=35824200 sampleseed=42 overwrite=t
  Error occurred during initialization of VM
  Could not reserve enough space for 6267216297984 KB object heap

For some reason, the programs tries to create a large object heap and I cannot find a way to limit the size of the object.

I'm running the test on WSL, using the latest version of NextFlow and Java openjdk v17.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions