# New Julia process every time I open VSCode

**URL:** <https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453>\
**Category:** VS Code\
**Created:** [February 17, 2021, 11:21am UTC](https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453 "2021-02-17T11:21:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CFS](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cfs/32/14601_2.png) [@CFS](https://discourse.julialang.org/u/CFS)\
**Post date:** [February 17, 2021, 11:21am UTC](https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453/1 "2021-02-17T11:21:49Z")

</div>

When I open VSCode, a new julia process is created and immediately takes up 600+ MB of RAM (which is 10x more than Python). That’s not so bad though. But when I close VSCode, the process keeps running with 0 CPU usage but the same RAM usage. If I open VSCode again, a new julia process is created and there goes another 600+ MB of RAM. Is this a bug? Should I just keep killing the julia processes every time I close VSCode for now?

---

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [February 17, 2021, 1:48pm UTC](https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453/2 "2021-02-17T13:48:48Z")

</div>

It’a a bug. Filed for MacOS (but applies to me too on Linux, and I suppose Windows): [Julia processes not terminated when VS Code is closed · Issue #1850 · julia-vscode/julia-vscode · GitHub](https://github.com/julia-vscode/julia-vscode/issues/1850)

Note with Atom cleanup happens as I find appropriate.

What happens is that you start VSCode and get a julia process as you would expect, then I open a terminal and you get another one. The former julia process isn’t cleaned up on exit.

---

<div class="post-metadata">

**Author:** ![CFS](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cfs/32/14601_2.png) [@CFS](https://discourse.julialang.org/u/CFS)\
**Post date:** [February 17, 2021, 2:21pm UTC](https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453/3 "2021-02-17T14:21:23Z")

</div>

Good to know. I will keep killing those pesky processes or switch to Atom.

---

<div class="post-metadata">

**Author:** ![szcf-weiya](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/szcf-weiya/32/5042_2.png) [@szcf-weiya](https://discourse.julialang.org/u/szcf-weiya)\
**Post date:** [September 21, 2023, 10:46pm UTC](https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453/4 "2023-09-21T22:46:49Z")

</div>

Can we disable creating a Julia process automatically when we open VScode?

---

<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:** [September 22, 2023, 9:21am UTC](https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453/5 "2023-09-22T09:21:43Z")

</div>

You can disable the Julia extension. Is the Julia process staying alive for you after you close VS Code?

---

<div class="post-metadata">

**Author:** ![mrufsvold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mrufsvold/32/31600_2.png) [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Post date:** [September 22, 2023, 1:02pm UTC](https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453/6 "2023-09-22T13:02:51Z")

</div>

Also, note that you can disable the extension globally and then re-enable it on a per-workspace level. It’s nice to have Julia fire up when I know the directory I’m working in is Julia specific!
