I am trying to run meta-spades on a virome sample. I found that after showing the mimalloc: warning: unable to allocate from region: size 4194304, the virtual memory started to explode to a very large amount. Besides, the actual usage of RAM seemed to be just one third of the virtual memory usage. I looked up solutions in issue lists and I found one of the solution which is changing the system parameter vm.max_map_count. It's unlikely to do such setting when using HPC, since it's impossible to get a root access from the administrator. I wonder if you can make some improvements in RAM usage other than changing system parameters or requiring root access.
Besides, it would be better if it's possible to set a length threshold on contigs then it may be able to lower the usage of RAM since short fragments are all removed from the assembly.
Description of bug
I am trying to run meta-spades on a virome sample. I found that after showing the
mimalloc: warning: unable to allocate from region: size 4194304
, the virtual memory started to explode to a very large amount. Besides, the actual usage of RAM seemed to be just one third of the virtual memory usage. I looked up solutions in issue lists and I found one of the solution which is changing the system parametervm.max_map_count
. It's unlikely to do such setting when using HPC, since it's impossible to get a root access from the administrator. I wonder if you can make some improvements in RAM usage other than changing system parameters or requiring root access. Besides, it would be better if it's possible to set a length threshold on contigs then it may be able to lower the usage of RAM since short fragments are all removed from the assembly.spades.log
spades.log
params.txt
params.txt
SPAdes version
SPAdes v3.15.5
Operating System
CentOS 7
Python Version
python 3.10.12
Method of SPAdes installation
mamba
No errors reported in spades.log