Skip to content

[help] repex: with garbage_collection = TRUE, If I load DESeq2 in target script, the pipeline goes from 200 workers, to struggle to lauch 50, with the rest of the code unaltered #1353

Closed Answered by wlandau
stemangiola asked this question in Help
Discussion options

You must be logged in to vote

I think you and I noticed this issue at around the same time. The problem is that base::gc() is computationally expensive, especially when run over and over again for large numbers of fast targets. In development targets, I recently made the garbage_collection option of tar_option_set() more flexible so that e.g. tar_option_set(garbage_collection = 100) will only run gc() every hundredth target.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@stemangiola
Comment options

Answer selected by stemangiola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants