# VS Code + stackoverflowerror

**URL:** <https://discourse.julialang.org/t/vs-code-stackoverflowerror/72704>\
**Category:** General Usage\
**Created:** [December 7, 2021, 9:50am UTC](https://discourse.julialang.org/t/vs-code-stackoverflowerror/72704 "2021-12-07T09:50:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RJDennis](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@RJDennis](https://discourse.julialang.org/u/RJDennis)\
**Post date:** [December 7, 2021, 9:50am UTC](https://discourse.julialang.org/t/vs-code-stackoverflowerror/72704/1 "2021-12-07T09:50:02Z")

</div>

Is anyone else getting the following error? I’m running Windows and I get the error for both 1.7 and 1.6.4 when running the following in VS Code (but not when it is run directly in the REPL)

```julia

function test()

    a = randn(241,241)
    b = randn(241)
    c = a\b
    
    return c

end

test()

```

Running the above, I get greeted with “ERROR: LoadError: StackOverflowError:”

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [December 7, 2021, 10:15am UTC](https://discourse.julialang.org/t/vs-code-stackoverflowerror/72704/2 "2021-12-07T10:15:04Z")

</div>

This looks like  
[https://github.com/JuliaLang/julia/issues/43008](https://github.com/JuliaLang/julia/issues/43008)

---

<div class="post-metadata">

**Author:** ![RJDennis](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@RJDennis](https://discourse.julialang.org/u/RJDennis)\
**Post date:** [December 7, 2021, 10:36am UTC](https://discourse.julialang.org/t/vs-code-stackoverflowerror/72704/3 "2021-12-07T10:36:15Z")

</div>

Yes. For me, Daviehh’s example runs without error when executed in the Julia REPL, but errors when run through VS Code.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [December 7, 2021, 10:58am UTC](https://discourse.julialang.org/t/vs-code-stackoverflowerror/72704/4 "2021-12-07T10:58:31Z")

</div>

At least two issues have been filed on this problem. The Julia developers understand it and are working on it. If you’re using an Intel machine then using the MKL blas will fix this problem.

See

[https://github.com/JuliaLang/julia/issues/43242](https://github.com/JuliaLang/julia/issues/43242)
