# VS code crash loading big file NetCDF

**URL:** <https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562>\
**Category:** VS Code\
**Created:** [May 5, 2022, 7:45pm UTC](https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562 "2022-05-05T19:45:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![virgile-baudrot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/virgile-baudrot/32/6857_2.png) [@virgile-baudrot](https://discourse.julialang.org/u/virgile-baudrot)\
**Post date:** [May 5, 2022, 7:45pm UTC](https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562/1 "2022-05-05T19:45:42Z")

</div>

I have to load a NetCDF file of around 50Mb, it’s working fine within the shell but not in VScode.

The error message from julia is super fast I don’t have time to copy past here.  
VScode return this:

```julia
path\AppData\Local\Programs\Julia-1.7.1\bin\julia.exe '-i', '--banner=no', 
'--project=path\',
 'path\.vscode\extensions\julialang.language-julia-1.6.17\scripts\terminalserver\terminalserver.jl', 
'\\.\pipe\vsc-jl-repl-9e1ca224-43bf-473d-98a8-b8e741e9f647', 
'\\.\pipe\vsc-jl-cr-bacd295e-9bbd-47e2-a097-e1a98593f6ea',
 'USE_REVISE=true', 'USE_PLOTPANE=true', 'USE_PROGRESS=true',
 'DEBUG_MODE=false'". Code de sortie : 1.

```

Any idea, thank you

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [May 5, 2022, 7:55pm UTC](https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562/2 "2022-05-05T19:55:45Z")

</div>

Try disabling Revise in VSCode. Alternatively, run a terminal in VSCode and start julia from the terminal.

---

<div class="post-metadata">

**Author:** ![virgile-baudrot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/virgile-baudrot/32/6857_2.png) [@virgile-baudrot](https://discourse.julialang.org/u/virgile-baudrot)\
**Post date:** [May 6, 2022, 7:56am UTC](https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562/3 "2022-05-06T07:56:52Z")

</div>

thank you.  
Seems like it’s not about VScode, it’s something different between julia version 1.6.0 where it works fine compared with 1.7.2 where julia crash.  
I’m investigating to better understand the error between julia version, and package version…

---

<div class="post-metadata">

**Author:** ![virgile-baudrot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/virgile-baudrot/32/6857_2.png) [@virgile-baudrot](https://discourse.julialang.org/u/virgile-baudrot)\
**Post date:** [May 6, 2022, 8:17am UTC](https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562/4 "2022-05-06T08:17:27Z")

</div>

OK finally get the issue: [https://github.com/Alexander-Barth/NCDatasets.jl/issues/164](https://github.com/Alexander-Barth/NCDatasets.jl/issues/164)  
Not linked with VScode at all.

---

<div class="post-metadata">

**Author:** ![Alexander-Barth](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alexander-barth/32/3692_2.png) [@Alexander-Barth](https://discourse.julialang.org/u/Alexander-Barth)\
**Post date:** [May 9, 2022, 7:26am UTC](https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562/5 "2022-05-09T07:26:12Z")

</div>

The current released version NCDatasets has been marked incompatible with the problematic NetCDF\_jll (for Windows).  
Can you run these commands and share the output of the `]status` commands?

```julia
]status --manifest NCDatasets NetCDF_jll
]up
]status --manifest NCDatasets NetCDF_jll

```

Having the version number of your installed package is very helpful to troubleshoot this problem.

If the error persists can you try this:

```julia
]add NetCDF_jll@400.702.400
]pin NetCDF_jll

```

---

<div class="post-metadata">

**Author:** ![virgile-baudrot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/virgile-baudrot/32/6857_2.png) [@virgile-baudrot](https://discourse.julialang.org/u/virgile-baudrot)\
**Post date:** [May 9, 2022, 8:28am UTC](https://discourse.julialang.org/t/vs-code-crash-loading-big-file-netcdf/80562/6 "2022-05-09T08:28:33Z")

</div>

Thank you. Following your thread on github I solved the issue for now.
