Skip to content

Post-mortem diagnostic: No process exists with this PID #495

Discussion options

You must be logged in to vote

Hi, first, you're on MS Windows, correct? It's not the cause of the error, but it helps to rule out a few other things.

The error message indicates that your parallel R worker(s) has terminated. This means that there's something in the code crashing the worker. Sometimes that happens if you run out of memory but a more common reason is that there's a non-exportable globals/object that causes R to crash if received from another R process. It's hard to say more without knowing what melslice() is.

Per https://cran.r-project.org/web/packages/future/vignettes/future-4-non-exportable-objects.html, try to set:

options(future.globals.onReference = "error")

and rerun. See if you get another, more …

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by HenrikBengtsson
Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #494 on May 25, 2021 15:38.