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

in Jupyter, Mapply has crashed because of insufficient RAM but jupyter/mapply keeps acting like it is still working. #43

Closed
thoughtfuldata opened this issue Apr 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@thoughtfuldata
Copy link

thoughtfuldata commented Apr 24, 2023

What you were trying to do (and why)

I am trying to use mapply to process dataframe rows. Each row requires a very memory intensive operations( i.e Tree Edit Distance).

What happened (including reproducible example)

Even Though, the operation has failed because of insufficient RAM. Jupyter notebook and cell keeps stating it is still working for hours. No error message anywhere.

I will be checking if this issue happens in a regular python script and creating a reproducible example soon.

What you expected to happen

I expect mapply to fail and print out the reason it failed. I know that it is failing because I am monitoring with htop

Step-by-step reproduction instructions

Run mapply on a memory intensive operation that causes the usage of more than available RAM or in my case WSL RAM ( currently at 58.9GB).

@thoughtfuldata thoughtfuldata added the bug Something isn't working label Apr 24, 2023
@ddelange
Copy link
Owner

ddelange commented Apr 24, 2023

Hi 👋

I have a feeling that's an upstream bug @ pathos, or at least we as end users would expect our multiprocessing_imap to raise an exception when one of the (forked) subprocesses dies.

Can you try to create a minimal reproducible example that we can post there?

@ddelange
Copy link
Owner

Closing in favour of uqfoundation/pathos#265

@ddelange ddelange closed this as not planned Won't fix, can't repro, duplicate, stale Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants