question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Phpstorm eats up CPU

See original GitHub issue
  1. Linux Ubuntu 15.04 Phpstorm 2016.1.2
  2. Versions. angular-cli: 1.0.0-beta.5 node: 6.2.1 os: linux x64
  3. Repro steps. Was this an app that wasn’t created using the CLI? What change did you do on your code? etc. Create a new angular-cli project, start the application and run it’s tests.

After the dist folder is generated every time i open the editor it grinds the CPU on 100% even when no other process runs just the IDE. It can be something associated with the project because i haven’t experienced it on other Typescript based Angular 2 projects like angular2-webpack.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mikejpeterscommented, Jun 7, 2016

Not sure if it’s exactly the same, but I use WebStorm, and to solve this issue I configure it to exclude the dist and tmp folders from indexing (right-click on a folder in the Project tree, Mark Directory As > Excluded). WebStorm remembers that the folders are excluded even if they are deleted and generated again.

1reaction
RicardoVarandacommented, Jun 16, 2016

I have just discovered that if you exclude the tmp directory instead of the node_modules (which is required to have auto completion in Webstorm/phpStorm) it dramatically improves the performance of the application. Try it and let me know 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

PHPStorm: CPU usage is close to 100% : WI-59291 - YouTrack
some times cpu is at 100% of usage but PHPStorm it's only idle; other tasks and programs temporarily are stuck and not usable...
Read more >
Phpstorm superslow - 282.8% CPU usage - Stack Overflow
I downloaded a fresh copy of Phpstorm and imported in the IDE a fresh project. The result is TERRIBLE! Phpstorm is terribly slow...
Read more >
Cpu reaches too 100% on intellij randomly - Sonar Community
I got a CPU snapshot with the diagnosis tools section inside the IntelliJ. I just start the CPU profiling when my CPU reached...
Read more >
IntelliJ IDEA CPU 100% fix - gists · GitHub
http://stackoverflow.com/questions/21595289/intellij-idea-13-ce-consuming-lots-of-cpu. C:\Program Files (x86)\JetBrains\IntelliJ IDEA 14.1.3\bin.
Read more >
Since Laravel Mix phpStorm become slow when watch is ...
The homestead/vagrant box still pegs at about 110% of the mac's cpu when running watch (normally consumes about 3.5% while idle).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found