-
Notifications
You must be signed in to change notification settings - Fork 768
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
Pylance has collapsed. Want to try using the Node.js executable to run the language server? #5891
Comments
are you using remote server |
I am using VSCODE Software and SSH connecting to my remote server. |
can you provide us log? https://github.com/microsoft/pylance-release/wiki/Collecting-data-for-an-investigation.#collecting-trace-logs and how much memory do you have in your remote server that you connect through SSH? |
Memory: $ free -h
total used free shared buff/cache available
Mem: 251Gi 29Gi 89Gi 1.5Gi 136Gi 221Gi
Swap: 0B 0B 0B Trace Logs:
|
First, thank you for giving us the info. just to clarify, that will be used on runtime by python, but it won't be used in anyway, so the issue shouldn't be your remote machine having too small memory. ... the log you shared is too late. server is already gone. so log doesn't provide any info. it just shows that server doesn't exist. what we want is why server is gone, so we need log before the server is gone. you can see the above link to see how you can check whether you have proper log. |
cool. thank you @piwawa so, this seems the issue
that's probably due to this
my guess is can you tell us what ... that said, until we figure out solution for this, you can tell us using for example, |
There are many files and folders under this path. I placed tens of python projects and miniconda3 in this directory. Should i bypass all unnecessary folders to avoid memory used by pylance? |
ya, that would be good for pylance. |
I have set
export NODE_OPTIONS="--max-old-space-size=12288"
in.bashrc
and restart the VSCODE, but it still report crash and can not highlight code. How to solve this? I tried to reinstall Pylance extension and switch to review vision, all failed!The text was updated successfully, but these errors were encountered: