-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client typescript-tools quit with exit code 0 and signal 6. #304
Comments
Hey, I faced this too and here's what I found out and how I fixed it: This is the relevant option in this plugin's configuration
However, the documentation lies, using "auto" is not equivalent to no limit typescript-tools.nvim/lua/typescript-tools/process.lua Lines 128 to 130 in f8c2e0b
We set the value only if it is a number, otherwise this argument is unset. From typescript-language-server's documentation:
An example that will work and increase the memory to 8GB: require("typescript-tools").setup {
on_attach = on_attach,
settings = {
tsserver_max_memory = 8192,
tsserver_file_preferences = {
includeCompletionsForModuleExports = true,
},
},
} please note that if you use a string for a value such as |
This did fix it for me. Thanks! |
Hi :)
if I open a Next.js/TypeScript project file in nvim, typescript-tools start to work flawlessly. But after about around ten seconds linting is gone away with this warning message:
Client typescript-tools quit with exit code 0 and signal 6. Check log ...
This is the output of the log file:
I've read on betterstack - nodejs-errors that I should do
export NODE_OPTIONS=--max_old_space_size=4096
.I've done this, but it doesn't has changed anything.
Can anybody help me, to go through this problem?
Regards,
Manny
The text was updated successfully, but these errors were encountered: