-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
perpetual loading of python extension #16106
Comments
Hi @frl3, thank you for reaching out! Which version of the extension are you using? And does it happen with older versions of the extension? |
version 3.9.4 - should I change the installation to full system installation - Program Files that's the only version installed. |
Hello, this is the info for the version of Python you have installed, not the version of the Python extension in VS Code. To find your extension information, go to the "Extensions" tab in VS Code, find "Python" and click on "Copy": To try out other versions of the extension, you can follow the prompts from "Extensions: Install Specific Version of Extension..." in the command palette: Or you can open the extensions side bar, click on the settings for the Python extension and pick "Install Another Version...": |
v2021.4.765268190 Name: Python |
okay, Name: Python Same response, prolonged loading, eating up my memory. Slowing down my whole desktop system. |
should I try another? |
No that'll do for now, thanks! |
@kimadeline how's your analysis going? |
Unfortunately we don't give out updates on work. |
so how will i solve this problem? |
You can try using older versions of the extension until you find one that works for you while we investigate the problem you're facing. |
Hi @frl3, thank you for your patience! Checking the cpuprofile you posted, it seems like the new discovery code was endlessly looping. We fixed a few issues with it in the most recent release, could you give it a try? If not, can you try adding the following to your global "python.experiments.optOutFrom": [
"pythonDiscoveryModule",
"pythonDiscoveryModuleWithoutWatcher"
], Thanks! |
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off. |
ms-python.python-unresponsive.cpuprofile.txt
On console - Developer tools under help; this is what in log file upon start of loading.
DevTools failed to load SourceMap: Could not load content for https://ticino.blob.core.windows.net/sourcemaps/3c4e3df9e89829dce27b7b5c24508306b151f30d/core/vs/workbench/workbench.desktop.main.js.map: Load canceled due to load timeout [Violation] Forced reflow while executing JavaScript took 39ms workbench.desktop.main.js:62 [Extension Host] (node:12564) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. m @ workbench.desktop.main.js:62 $logExtensionHostMessage @ workbench.desktop.main.js:1589 _doInvokeHandler @ workbench.desktop.main.js:1589 _invokeHandler @ workbench.desktop.main.js:1589 _receiveRequest @ workbench.desktop.main.js:1589 _receiveOneMessage @ workbench.desktop.main.js:1589 (anonymous) @ workbench.desktop.main.js:1589 fire @ workbench.desktop.main.js:60 fire @ workbench.desktop.main.js:76 _receiveMessage @ workbench.desktop.main.js:76 (anonymous) @ workbench.desktop.main.js:76 fire @ workbench.desktop.main.js:60 acceptChunk @ workbench.desktop.main.js:76 (anonymous) @ workbench.desktop.main.js:76 k @ workbench.desktop.main.js:2781 emit @ events.js:315 addChunk @ _stream_readable.js:295 readableAddChunk @ _stream_readable.js:271 Readable.push @ _stream_readable.js:212 onStreamRead @ internal/stream_base_commons.js:186 workbench.desktop.main.js:2786 Extension Host workbench.desktop.main.js:2786 Debugger attached. workbench.desktop.main.js:626 WARN UNRESPONSIVE extension host, 'ms-python.python' took 100% of 5188.081ms, saved PROFILE here: 'file:///c%3A/Users/frl3/AppData/Local/Temp/exthost-f093b8.cpuprofile' [{…}]
exthost-f093b8-cpuprofile.txt
my VS Code infos:
Version: 1.55.2 (system setup)
Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d
Date: 2021-04-13T09:35:57.887Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.19042
The text was updated successfully, but these errors were encountered: