Skip to content

memory allocation failed #65

@jermp

Description

@jermp

Hi,
I'm using GGCAT for building eulertigs. So far, I had no problem and successfully built eulertigs for large collections.

But I noticed that on the whole 661k "Blackwell" collection, as well as on this collection of fungi https://zenodo.org/records/17093970 which counts 1624 genomes, the computation gets aborted at its final stage with the same message:

Started phase: eulertigs building [step1]
memory allocation of 309237645312 bytes failed
Aborted (core dumped)

It seems that the algorithm is trying to allocate >300GB in RAM in both scenarios, so this looks suspicious to me. But isn't the the max RAM usage capped with option -m?

This is the command I'm using, just for reference:

ggcat build -k 31 -j 64 -l ~/jgi_fungi_filenames.txt -s 1 --eulertigs -o jgi_fungi.k31.eulertigs.fa -t tmp_dir -m 64

hence, 64 parallel threads and 64 GB of RAM.

In any case, I also have ~500GB of RAM on the test machine I'm using, so I don't know why that message is showing up and causes the crash.

Any help very much appreciated.
thanks!

Best,
-Giulio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions