shutdown all servers before starting a new one #1452
-
My laptop doesn't have much ram, and while it can just about run one language server, if i ever start 2-3 lang servers, it will potentially lead to emacs getting oom killed. I found EDIT: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
eglot-connect-hook maybe
…On Sat, Oct 5, 2024, 19:08 lolbinarycat ***@***.***> wrote:
My laptop doesn't have much ram, and while it can just about run one
language server, if i ever start 2-3 lang servers, it will potentially lead
to emacs getting oom killed.
I found eglot-shutdown-all, but I can't find a hook that is run before
starting up a new lang server. eglot-mode-hook also doesn't seem to exist.
—
Reply to this email directly, view it on GitHub
<#1452>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC6PQ6V77Y3UH57MKGMYPTZ2ATK7AVCNFSM6AAAAABPNRLWL2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGI4DAMRVHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Don't use |
Beta Was this translation helpful? Give feedback.
Don't use
eglot-ensure
. Shutdown existing servers before starting new ones.