-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atom freezes, disabling elmjutsu seems to solve it #155
Comments
Hi, do you have other Atom packages installed? You can try disabling all Elmjutsu features, then enable them one by one to identify which feature is causing the freeze. |
Yes. atom-ide-ui, elm-format, elm-lens, highlight-selected, language-elm and last-cursor-position. I'll try to disable the settings and see if i can narrow it down. |
What did you mean by "atom helper"? You can also try disabling |
Sure, I'll try disabling elm-lens. On OSX atom spins up one main process |
Still happens with elm-lens disabled. Also disabled all settings apart from hyperclick, same problem. I'm wondering if it's perhaps |
Uninstalled |
Regarding to Apart from that, have you tried compiling the project outside of Atom? |
Thanks, linter 2.2.0 works. Yes, it's usually incremental updates. Works fine when i start fresh. But then after a while grinds to a halt. Is there a easy way to debug what the atom processes are stuck doing? |
Dunno, I also want to know convenient ways to debug background processes from Atom packages... Also, just a possibility though, triggering too much Lint requests to elmjutsu (thusly to the elm compiler) sometimes unstabilize Atom, leading to input lags or "Max call-stack size reached" error shown.
|
@smucode, can you also check if disabling the elm-format Atom package makes it better? I sometimes experience slow downs when saving Elm files. |
It seems to be related to many files changing. Like when i check out a different branch, or delete elm-stuff due to corrupt files after compile. But i have ignored elm-stuff from indexing, so not sure what would care if that folder changed? |
Sure, i'm using a fork now. I'l try some different things and report back if i get any wiser! |
I notice whenever a hyperclick opens the elm docs, there seems to be a process lingering. When i looked the other day I had 20-30 of these:
They don't go away when i close the browser tab. |
Haven't had too much time to dig any deeper, but I did change the ignored patterns to ignore all of After the freezing stopped, i am noticing atom just being a lot slower lately. After a while switching tabs, hyperclicking etc seem to take a long time (+1 sec). My colleague also is having similar issues. Not sure if it's possibly related to this one #115 you fixed a while back? The symptoms are quite similar at least. |
Hey folks, wanted to note that I'm experiencing this issue, aka. a freeze, as well. For me it's because I have a git submodule which is an Elm project as well, and if I build this "sub project" Atom often freezes. So I guess this is related to the file watcher, as you suggested @halohalospecial. |
Some time in the last month or two I've had huge problems with atom freezing. When i look at activity monitor, atom helper is using all the CPU. If i try to disable elmjutsu the problem seems to go away.
I tried looking in the dev console, and last time atom froze this is the last few messages:
I haven't fiddled too much with the elmjutsu settings, tried to disable datatips but no luck.
I'm using atom 1.34.0, elm 19, node 10, osx 10.14.2. I reinstalled OSX the other day, and even with a fresh install of atom, node, elm and co, the problem occurs.
Heaploads of files in the project, 700k loc js, 95k loc elm. But i've ignored most of that (node_modules, elm-stuff etc), so what should be indexed is around 70k loc elm across 350 files and really no js.
Let me know if there is anything i can do to help debug this...
Love elmjutsu btw, main reason i stick to atom!
The text was updated successfully, but these errors were encountered: