Skip to content

Writing to parquet does does not release memory #550

Answered by HenrikBengtsson
1beb asked this question in Q&A
Discussion options

You must be logged in to vote

If you have the option to chose, maybe you're better of using plan(future.callr::callr, ...), which uses a temporary, independent R process for each future that are shut down after the future completes. The downside is more overhead.

I guess the arrow folks are better suited for answering the question regarding memory not being released. If there's memory creep in parallel workers, I suspect it'll also happen in sequential mode as well - it's just that it'll take longer in sequential mode since it's a single process whose memory is growing instead of multiple.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@1beb
Comment options

@HenrikBengtsson
Comment options

@paciorek
Comment options

Answer selected by 1beb
Comment options

You must be logged in to vote
4 replies
@1beb
Comment options

@HenrikBengtsson
Comment options

@HenrikBengtsson
Comment options

@1beb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants