Skip to content

Commit 785f3de

Browse files
Add note about dialyzer high CPU usage to readme and issue template. (#293)
* Add note about dialyzer high CPU usage to readme and issue template. * Update .github/ISSUE_TEMPLATE.md Co-authored-by: Łukasz Samson <lukaszsamson@gmail.com> * Update .github/ISSUE_TEMPLATE.md Co-authored-by: Łukasz Samson <lukaszsamson@gmail.com>
1 parent 629bc2b commit 785f3de

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
- [ ] Stop your editor, remove the entire `.elixir_ls` directory, then restart your editor
1313
* NOTE: This will cause you to have to re-run the dialyzer build for your project
1414

15+
If you're experiencing high CPU usage, it is most likely Dialyzer building the PLTs; after it's done the CPU usage should go back to normal. You could also disable Dialyzer in the settings.
16+
1517
### Logs
1618

1719
1. If using a client other than VS Code, please try VSCode's "ElixirLS: Elixir support and debugger" extension. Does it reproduce your failure?

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ The original repository has now been deprecated in favor of this one. Any IDE ex
2424

2525
![Screenshot](images/screenshot.png?raw=true)
2626

27+
Note: On first run Dialyzer will build a PLT cache which will take a considerable amount of CPU time (usually 10+ minutes). After that is complete the CPU usage will go back to normal. Alternatively instead of waiting you can disable Dialyzer in the settings.
28+
2729
## Supported versions
2830

2931
Elixir:

0 commit comments

Comments
 (0)