-
Notifications
You must be signed in to change notification settings - Fork 682
100% CPU when opening a project or 'Settings > Packages' #84
Comments
Are you on Windows, Mac, or Linux? Anything else about your system that might be special? |
.@bolinfest Mac, OS X Yosemite. My atom settings are symlinked, in the style of https://github.com/holman/dotfiles. Interestingly, the CPU still caps when I run atom with |
Same issue here on OS X 10.10.3 and Atom 0.211.0. I installed nuclide through After the first restart I had only 6 nuclide-* packages installed, after the second restart I see 9 packages so Atom Helper might be doing useful work. I still don't see some packages like |
The |
You could experiment with installing each package through Atom's GUI to see if the behavior is any different. I need to dig into the code in |
I am trying to uninstall everything through Atom's GUI but it's extremely slow and unresponsive. I will try a fresh install through the GUI and from source to check if there is any difference. |
If you backup your |
Even uninstalling a single package after disabling it takes several minutes and Building from source with
Now it takes less than 10 seconds to start Atom and load all packages, including 13 nuclide-* packages. |
When installed from source, uninstalling through the GUI is almost instant as expected. This is probably an issue with Atom and not directly nuclide: only the first uninstalled package is removed from the current search of installed packages, the other packages stay listed until I enter a different search term although they are not present in |
I tried to install This is probably a wild guess, is there any chance Atom treats differently symlinked and normal packages? |
Same problem for me. Installing with |
I will give it a try, but I doubt it will make any difference. EDIT: no difference |
Just to add few more bits, I've tried installing both from Atom and from Atom 1.0, OS X Yosemite (10.10.3), Macbook Pro Early 2015 |
Same here. "Atom Helper" is running on 100% CPU on OS X 10.10.3. |
Same here. Atom is basically unusable right now. Major lag: I can finish a whole line of code before it actually appears on screen. I'm having to remove the packages one by one with apm just to restore it well enough to actually work today. OS X 10.10.3 |
Same here. OS X 10.10.3. |
I have a dirty workaround for this bug: rm -r .atom/ You can check the proper atom's bug report here: |
I removed atom and its config several times, and i made a new clean installation later. Now i will try do the same with the new Atom 1.0. EDIT: Same thing with the new Atom 1.0 |
Try apm uninstall * for any nuclide package you see. That seemed to do the trick for me. Keep in mind that I have yet to reinstall Nuclide. |
@chibipirate Could you confirm if reinstalling Nuclide didn't make atom crash again? I'm starting to think this problem is related to Nuclide, considering the number of people that are participating in the settings-view's bug report. I reinstalled nuclide here and atom started to crash again. |
Same here on OS X 10.10.3. I really do believe this is nuclide related since this has only happened after installation. For me, opening the settings panel starts the havoc Edit: definitely nuclide related. Deleting all nuclide packages from ~/.atom/packages fixes the cpu use |
+1 After installing Nuclide, opening my settings shoots up CPU usage. |
Same. Only happening with Nuclide. Unusable for 5 or minutes after starting the app. |
AtomHelper per opened window consumes 100% CPU even after closing the "Settings" tab. Waiting for more than 5minutes now... Removing all nuclide packages helps. |
Seeing this also -- posting so I'm notified of new comments |
+1, atom1.2.4 on el capitan |
+1, atom1.3.0beta6 on El Capitan |
Hi, having the same issue (El Capitan, Atom 1.2.4), had to manually remove all nuclide packages from my ~/.atom/packages directory. What version are you using internally if it's not behaving this way? |
+1, editor becomes unusable on my mac after installing nuclide - 104% CPU |
+1 |
1 similar comment
+1 |
+1 atom1.2.4 on El Capitan @bolinfest has highlighted the need to integrate a batch package download and install api in the official atom repo, has anyone followed this up with an issue on the atom repo? Lastly, has anyone started on a pr? |
Would it make sense to have nuclide just be a fork of Atom, instead of a layer on top of it? Still allow apm to run on nuclide, just restructure whatever needs restructuring internally, including the NPM module de-duping. Shrug -- early morning fog rants... |
same problem here |
I stopped using Nuclide because of this, I'm just using JSX React Snippets Atenciosamente, 2015-12-07 8:43 GMT-02:00 Perry Poon [email protected]:
|
@lukeed - I know what you're getting at, forking Atom would mean that those interested in the nuclide behemoth of a package can focus purely on redesigning and redeveloping its infrastructure to perfectly suit nuclides needs. Personally however, I believe nuclide could benefit from the wider Atom community if it stayed as purely an abstraction package for Atom. Additionally, Atom could benefit from nuclide as the nuclide community helps Atom become more suitable and stable for larger package suites. Maybe something that should be looked into is the fact that actually the nuclide package in whole is a bit too much and seems to target a very specific use case/user story. In my opinion, I would love to see the 'nuclide installer' as the root Atom package, from there it is an abstracted settings and package management panel purely for the nuclide packages. You could reply "Well... you can just directly download the packages you want and only them" but this is a problem of accessibility and usability and I believe that could be of benefit. This is just my opinion, of course there is potential for this to be a very stupid opinion. |
@LukeeeeBennett, stay tuned. We have been exploring that direction to address the many valid critiques of the current approach that make Nuclide difficult to install and update. More updates when we've got something to show. |
+1 |
I can verify that manually installing Nuclide from source doesn't cause any of these issues. |
Manually installing from source works for me too~~, but now I've got either one or two tree views. 😝~~ |
How are you installing from source? The readme no longer contains those instructions. And after finding them in the readme's history, running |
Clone the source $ git clone https://github.com/facebook/nuclide.git$ cd nuclide Install dependencies $ npm install # Link the 'nuclide' package to Atom'spackage directory $ apm link Atenciosamente, 2015-12-29 21:26 GMT-02:00 Luke Edwards [email protected]:
|
@mauriciord gotcha, thanks! |
This should have been fixed with the UP release, http://nuclide.io/blog/2016/01/13/Nuclide-v0.111.0-The-Unified-Package/ |
Finally! Checked, works as expected, all good. |
Finally working ! Thanks |
There is 100% IO usage when settings is Open and Nuclided is installed. It spawns about 4-5 watchman processes that takes 100% I/O . Latest nuclide. |
@v3ss0n are you using the latest Atom? We are currently fine at Atom 1.6.2. |
i am with atom 1.7 + |
the fix will be out in ~ 2 days |
My Atom started crashing on its startup. After booting it in the safe mode (atom --safe) I attempted to uninstall all the Nuclide packages but most of them resulted in the Atom uninstalling errors. When deleting the related directories manually, I noticed that some of the "Nuclide-*" directories have obscene sizes such as ~80MB. I fear that the "hacking" packages got hacked themselves unless there is another explanation for this. In any case, only after a manual delete of these directories, I was able to orderly delete Nuclide packages in Atom. |
Hey, I've got no other packages activated inside of Atom, and after installing
nuclide-installer
package, I'm getting a 100% CPU. This is also happening when I try to view the Packages list inside of Atom, so I can't uninstall using the Prefs screen.A brief issue, as I'm unfamiliar with the reporting process, but please let me know what information you require.
The text was updated successfully, but these errors were encountered: