-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
running out of memory with Julia 1.6 and Pluto.run() #1604
Comments
What Julia version exactly? Which Pluto version? |
I just noticed that apparently there is higher version available (0.7.5), but when I run |
Assuming you meant Pluto Does it happen on every notebook? Can you try the Tower of Hanoi sample notebook? |
I cannot reproduce this behavior with Tower of Hanoi sample notebook. |
In that case, the problem is with your notebook's code, or with one of the packages that you use. Can you try to narrow down on the problem by finding which cell causes the problem? Open the notebook in VS Code or the macos text editor and add |
I guess I do not exactly understand what you mean by: [...] add # in front of lines [...] If I add just single # as the very first line like this:
I am getting an error:
|
I mean that you can disable a line by turning it into a comment: This code will run using Plots
plot(1:10) This code will not run anything: # using Plots
# plot(1:10) This means that you can modify the notebook file to "disable cells" before running it in pluto. |
Hmm, this would be a lot of code to comment out (disable/turn-off) and then turn-back-on and to see when this bad behavior happens... I just found #92: One puzzle for me is why this notebook works just fine with julia 1.5.3, but not julia 1.6.3. This seems to indicate to me that maybe 1.6.3 is using different, and buggy, version of some package, rather that something in my code. Does this sound for you as a reasonable conjecture? |
Good ideas, try it out and see what happens! Try running the notebook using I won't be able to help you through the debugging process, you need to work on this yourself, but try to divide your problem in smaller parts. Take something that works, something that doesn't work, and slowly narrow in on the problem in the middle. |
I felt brave and installed Julia 1.6 [Version 1.6.3 (2021-09-23)] on MacBook Pro BigSur 11.2.3 (20D91)
My main motivation was new Format pkg...
Now when I try Pluto.run() with my notebook julia is spawning hundreds of processes, computer is running out of memory and crashes. See below.
NOTE: the same notebook is running just fine with Julia 1.5
I am not really sure where the problem is. When I run julia 1.6 I do not see problems, but I have not really used it that much.
with julia 1.5 (/Applications/Julia-1.5.app/Contents/Resources/julia/bin/julia)
I am getting just few processes:
The text was updated successfully, but these errors were encountered: