Skip to content

Running into out of memory issues when working with a large number of files. #4711

Discussion options

You must be logged in to vote

I see you are using 23.10 and Java 21 which enables virtual threads by default. So when the process publishes 20k files it will create 20k virtual threads at once, there is no limit. But virtual threads are lightweight, you should be able to have millions of virtual threads easily

In any case, it's worth trying without virtual threads:

export NXF_ENABLE_VIRTUAL_THREADS=false

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
11 replies
@karthikram-takara
Comment options

@bentsherman
Comment options

@pditommaso
Comment options

@bentsherman
Comment options

Answer selected by karthikram-takara
@bentsherman
Comment options

@karthikram-takara
Comment options

@bentsherman
Comment options

@karthikram-takara
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
4 participants
Converted from issue

This discussion was converted from issue #4710 on February 02, 2024 08:26.