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

importing SciMLSensitivity on mybinder with julia 1.8.1 kills julia #734

Closed
schlichtanders opened this issue Sep 21, 2022 · 3 comments
Closed

Comments

@schlichtanders
Copy link

Locally everything worked, but going to mybinder I get an immediate kill if I import SciMLSensitivity

you can reproduce this by

image

SciMLSensitivty version 7.10.0

@schlichtanders
Copy link
Author

I just tested the docker locally via jupyter-repo2docker https://github.com/jolin-io/KI2022-tutorial-universal-differential-equations and it works.

The memory usage peaked at 2.05 GB, which is indeed more than the memory limit available on mybinder docker in the cloud. (sometimes you get 8 GB but most often 2 GB).

It would be really great to be able to use SciMLSensitivity within mybinder. Is it possible to massively reduce the memory footprint during import?

@ChrisRackauckas
Copy link
Member

Yeah, I'm not sure what to do here. It would need to get elevated to Julialang/julia since packages don't have control over the memory usage in the loading process. In general it should be made to GC appropriately, and maybe cut back on cores if on a smaller memory machine (since the multithreading makes the concurrent memory usage increase).

But anyways, those are discussions for Base Julia since this will happen with any sufficiently large package. Let me know when you open it since I'll want to follow it.

@schlichtanders
Copy link
Author

opened: JuliaLang/julia#46912

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants