You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading to the current version of ErlangLS, I've noticed it just ... stop working after a while.
To Reproduce
Dunno. Run it. Wait for a bit.
Actual behavior
Attaching observer to the erlang_ls node reveals that the els_server process has a huge number of reductions, is stuck in gen:do_call and has ~3300 messages (mostly process_requests casts) in its queue. This would explain why it's not responding to VS Code. Looking at the stack trace, it appears to be stuck in filelib:wildcard/1.
The file_server_2 process seems to be thrashing around in prim_file:list_dir_nif/1 and associated dirty_nif_finalizer calls.
Context
erlang_ls version (tag/sha): 1.1.0
Editor used: VS Code
LSP client used: erlang-ls.erlang-ls v0.0.46
Erlang/OTP: 26.2.5.3
Reverting to an earlier version (v0.0.43) of the VS Code plugin and ErlangLS fixes the problem (but breaks elvis, so I can't do that).
The text was updated successfully, but these errors were encountered:
Gotcha. I've got a circular symlink chain in my _checkouts directory. myapp/examples/whatever/_checkouts/myapp points back to myapp, which contains examples/whatever/..., and so on.
This would be a bug in Erlang/OTP, then, I guess...
Describe the bug
Since upgrading to the current version of ErlangLS, I've noticed it just ... stop working after a while.
To Reproduce
Dunno. Run it. Wait for a bit.
Actual behavior
Attaching observer to the erlang_ls node reveals that the
els_server
process has a huge number of reductions, is stuck ingen:do_call
and has ~3300 messages (mostlyprocess_requests
casts) in its queue. This would explain why it's not responding to VS Code. Looking at the stack trace, it appears to be stuck infilelib:wildcard/1
.The
file_server_2
process seems to be thrashing around inprim_file:list_dir_nif/1
and associateddirty_nif_finalizer
calls.Context
erlang_ls
version (tag/sha): 1.1.0Reverting to an earlier version (v0.0.43) of the VS Code plugin and ErlangLS fixes the problem (but breaks elvis, so I can't do that).
The text was updated successfully, but these errors were encountered: