# Julia 1.8.\* & VSCode & Ryzen CPU & Windows 10 64bit --\> crash

**URL:** <https://discourse.julialang.org/t/julia-1-8-vscode-ryzen-cpu-windows-10-64bit-crash/87283>\
**Category:** General Usage\
**Tags:** question, vscode, crash\
**Created:** [September 14, 2022, 6:22pm UTC](https://discourse.julialang.org/t/julia-1-8-vscode-ryzen-cpu-windows-10-64bit-crash/87283 "2022-09-14T18:22:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mkoculak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkoculak/32/28310_2.png) [@mkoculak](https://discourse.julialang.org/u/mkoculak)\
**Post date:** [September 14, 2022, 11:12pm UTC](https://discourse.julialang.org/t/julia-1-8-vscode-ryzen-cpu-windows-10-64bit-crash/87283/2 "2022-09-14T23:12:02Z")

</div>

Hey,  
not sure if it is the same issue, but I have similar setup (Ryzen + Windows) and about 1-2 weeks ago started seeing Julia struggling and crashing taking the whole VSCode down (and sometimes crashing my Firefox also). However in my case the same behavior is also present on i7-8700k machine.

> [@Precompile error on Windows](https://discourse.julialang.org/t/precompile-error-on-windows/87026):
>
> Since last week I am encountering problems with precompilation - with language server on VSCode and with packages in projects. Seems to be the same issue as [here](https://github.com/JuliaLang/julia/issues/39396), although it seems it should have been fixed. For me, the precompilation becomes stable only when I set the number of processes to 1. Here is the error I get most frequently: ┌ Error: Pkg.precompile error │ exception = │ IOError: could not spawn `'C:\Users\Marcin\AppData\Local\Programs\Julia-1.8.0\bin\julia.exe' -Cnative '-JC:\…

So my best guess was that it is an iteration of an older issue (link to github issue is in the thread above).

You can try to add to your environment this variable:  
JULIA\_NUM\_PRECOMPILE\_TASKS = NUMBER  
where number should be less then the number of cores in your CPU.  
At least that is how they mitigated the issue earlier. For me it reduced the frequency of crashes, only setting it to 1 completely fixed it.

Let us know if this helps your case or not.

---

_[View the full topic](https://discourse.julialang.org/t/julia-1-8-vscode-ryzen-cpu-windows-10-64bit-crash/87283)._
