Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to limit the amount of memory that sortmerna uses during alignment? #419

Open
jackieway opened this issue May 2, 2024 · 1 comment

Comments

@jackieway
Copy link

Hello, I am running sortmerna version 4.3.6 on a machine with 256 GB of RAM and 128 threads. I am running a sample with 124 M paired end reads, and have set my WSL2 configuration to use all of the available RAM. I'm receiving an out of memory error and the process gets killed part of the way through alignment, and sortmerna in general is working (ran successfully on a sample with 56 M paired end reads). I saw that there is a flag -m that allows the user to adjust the amount of memory used for index building, but the process is killed through alignment. Is there any way I can cap the memory used by sortmerna so that I can use it on my sample?

@biocodz
Copy link
Collaborator

biocodz commented May 3, 2024

Sortmerna doesn't have a built-in resource management, but you can use system facilities like cgroups for that. WSL can also exacerbate the problem, so I avoid it for this reason.
We might consider this as a feature for the future development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants