Hi !
I am using Julia to run some Finite Element simulations with code that I wrote (based on the Ferrite.jl package).
Running the exact same code two times, the first time the analysis finishes with no errors, while the second time the following error appears in the VS Code notifications:
The terminal process “C:\Users\user\AppData\Local\Programs\julia-1.11.1\bin\julia.exe ‘-i’, ‘–banner=no’, ‘–project=C:\Users\user.julia\environments\v1.11’, ‘c:\Users\user.vscode\extensions\julialang.language-julia-1.127.2\scripts\terminalserver\terminalserver.jl’, ‘\.\pipe\vsc-jl-repl-f185ceeb-05e0-4c21-be36-cc16035db42a’, ‘\.\pipe\vsc-jl-repldbg-65edd950-2663-4529-8bfc-b3bec7de43b3’, ‘\.\pipe\vsc-jl-cr-90aa9c0b-2a26-4870-bda2-e8293db3f0b6’, ‘USE_REVISE=true’, ‘USE_PLOTPANE=true’, ‘USE_PROGRESS=true’, ‘ENABLE_SHELL_INTEGRATION=true’, ‘DEBUG_MODE=false’” terminated with exit code: 1.
In the above paths the actual user name is replaced by “user”.
Any idea why this happens sometimes with no apparent pattern ? One thing that I noticed is that this occurs when the analysis takes some time to run (more that 5 - 10 minutes).
Thanks for your very prompt reply.
The code is actually a big repository which will be made public in a few days.
I do not know what Revise is or how I may disable it.
I monitor resources regularly and I don’t think memory is an issue. During the analysis the consumption is at ~50Gb / 128Gb.
How would I run the code directly from the Julia REPL ? Navigate to the path and just type the name of the "main.jl: script ?
While running directly in the Julia terminal did allow for some longer analyses to finish, the terminal just stopped running in some cases, with no error appearing.
Is there any file where julia terminal errors/crashes are logged ?
Thanks for your reply.
Unfortunately I do not see anything in the Event Viewer. I know for certain that a REPL crash occured from 20:00 to 22:00, however I do not see any errors during that time interval.
Off topic: The shell will make no difference here. Programmatically generated paths can always use /. Only the Windows command line or batch files require \.