Error: The gopls server has crashed
agent-yandex opened this issue · comments
This is not very helpful. Please attermpt to use the LSP: Troubleshoot Language Server
and see if any errors are shown
You should also set “manageGoplsBinary” to false
I have tried this on my m1 mac and it didn't crash. I didn't have go installed so went to https://go.dev/doc/install and installed latest version first.
Maybe try updating your go to latest version first.
Some googling says that it can be due to limited virtual memory or just low RAM.
For example: https://stackoverflow.com/questions/18549324/golang-panic-before-malloc-heap-initialized
@agent-yandex definitely take this to the gopls repository. As clearly this is not an issue with this plugin. Thanks !