I think (and it's really hard to reproduce) that when I reload atom, in dev mode, sometimes a julia thread spawns that take 100% CPU.
This doesn't sound like a thing that would happen, but please let me know if you figure out anything more. Hydrogen should only be starting kernels when you first tell it to run some code. In fact, Hydrogen itself shouldn't be activated by Atom until you use hydrogen:run or its shortcut.
Definitely happens when I start an atom session in ~.
Can you open the console in the Atom dev tools (View -> Developer) and see what Hydrogen is printing out? Hydrogen spits out a bunch of logs to make it easier to debug this sort of thing.
@tpoisot Don't you using language-julia or autocomplete julia? I had the same issue with them, but not with hydrogen - it doen't start kernel on atom restart.
You can check this by:
ps aux | grep hydrogen
@tpoisot I'm closing this issue. Please, feel free to reopen if you still need help.
that's fine -- I removed the package bc the issue persisted, and use the notebook instead.
t
Le 21 juil. 2016 à 10:06, Nicolas Riesco [email protected] a écrit :
@tpoisot I'm closing this issue. Please, feel free to reopen if you still need help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Reopening because the issue persists.
Oh really? I just checked and can't reproduce this.
@lgeiger Did you use the IJulia kernel?
I should have read the issue more carefully. No, I only have python, root and ijavascript installed.
@n-riesco have you experienced this lately? I know when i first tried out the uber-juno (and the packages it installs) I was having issues with it having conflicting keybindings with Hydrogen.
uber-juno installs: tool-bar, latex-completions, language-julia, ink, julia-client
I disabled uber-juno packages early on because I thought it was spawning julia on startup, but have since tried and not seen the same issue.
@BenRussert I've just tested IJulia v1.4.1 on Hydrogen v1.6.0 and the 100%-CPU spike is hardly noticeable.
A comment for IJulia users:
IJulia users should expect a little delay when running IJulia for the first time after installation (because the package has to be precompiled; Hydrogen now shows a notification when this happens). But this delay is a one time thing. It won't happen next time you run IJulia.
@n-riesco You've given an excellent explanation. Thanks!
@lgeiger How do you feel about closing this issue as resolved?
@n-riesco Thanks for the great explanation and testing!
I think we can close this as resolved 👍
@tpoisot Feel free to reopen if you still have issues.
Most helpful comment
@BenRussert I've just tested IJulia v1.4.1 on Hydrogen v1.6.0 and the 100%-CPU spike is hardly noticeable.
A comment for IJulia users:
IJulia users should expect a little delay when running IJulia for the first time after installation (because the package has to be precompiled; Hydrogen now shows a notification when this happens). But this delay is a one time thing. It won't happen next time you run IJulia.