-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
ReadOnlyMemoryError when precompiling #39396
Comments
Can I ask you how much RAM you have? Can you open the task-manager and see if you are running out of RAM while you are precompiling? |
In this machine 16 GB. I rebooted, and precompiling 280 packages was successful twice. Task Manager shows memory usage less than 50%. |
This is JuliaLang/Pkg.jl#2323 There's a workaround in there, by setting the number of tasks the precompiler uses to the number physical cores + 1 or fewer |
Should we default to that on Windows then? |
It's a shame but I think we may have to. I don't think this hits a high percentage of windows users, but it's rather unfriendly when it happens. It'll just mean windows won't be at full speed, unless people experiment with pushing the number of tasks back up. We could catch the error and tell the user to adjust the number of tasks. |
Is there actually no way to debug this? |
I believe this was fixed by JuliaLang/Pkg.jl#2366 . |
Steps to reproduce, now four times in a row
]precompile
another one
third one
fourth
The text was updated successfully, but these errors were encountered: