Post High CPU Usage on Startup - VSCode OSX triggered my post. As the link mentions, the post was about "high-cpu-usage-on-startup-vscode-osx”. I responded but didn’t want to hijack that thread so deleted my post and decided to make it a separate post.
Since Julia 1.3 I have encountered many issues with stray/high cpu usage on Julia process. It should be said that this behavior is much more often observed in the many cases I run external programs (in my case
I wonder if the high cpu usage is confined to vscode. I see similar issues with Sublime Text and TextMate once compilation of packages start. I don’t know if in vscode’s startup sequence compilation/package indexing might be triggered.
Also, is this behavior confined to OSX? Travis test runs often time out, occasionally while it is still resolving package versions. Could that be related?
On OSX, sometimes it takes many, many minutes before it returns and often it simply never returns (although I’m not sure I ever waited overnight :-). The Activity Monitor has become a goto tool…
A third issue I have seen is that the additional Julia processes indeed seem to persist after interrupting the REPL (sometimes much later on breaking in with an error message).
Finally, in many cases when I display a plot with Plots/GR Julia simply hangs. Even the REPL stops responding. The Julia process remains running. These days I only use Plots/GR where I use
savefig() which prevents
GKSTerm to be activated.
I see this on 1.3 and development versions 1.4 and 1.5. I don’t think I ever saw it before Julia 1.3.
It is unclear to me if these issues are related or separate issues.
Until last week I thought it was an issue with my machine, but now I’ve quadrupled memory, disk space and cores.
Is it worth filing an issue without a real MWE?