Title: Microsoft.Python.LanguageServer excessive resource usage · Issue #495 · microsoft/python-language-server · GitHub
Open Graph Title: Microsoft.Python.LanguageServer excessive resource usage · Issue #495 · microsoft/python-language-server
X Title: Microsoft.Python.LanguageServer excessive resource usage · Issue #495 · microsoft/python-language-server
Description: @KaiLicht commented on Sun Dec 16 2018 Environment data VS Code version: 1.30.0 Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: macOS 10.14.1 Python version (& distribution if applicable, e.g. Anacon...
Open Graph Description: @KaiLicht commented on Sun Dec 16 2018 Environment data VS Code version: 1.30.0 Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: macOS 10.14.1 Python version (&...
X Description: @KaiLicht commented on Sun Dec 16 2018 Environment data VS Code version: 1.30.0 Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: macOS 10.14.1 Python version (&...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/495
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Microsoft.Python.LanguageServer excessive resource usage","articleBody":"@KaiLicht commented on [Sun Dec 16 2018](https://github.com/Microsoft/vscode-python/issues/3724)\n\n## Environment data\r\n\r\n- VS Code version: 1.30.0\r\n- Extension version (available under the Extensions sidebar): 2018.12.1\r\n- OS and version: macOS 10.14.1\r\n- Python version (\u0026 distribution if applicable, e.g. Anaconda): Anaconda, Python 3.7.0\r\n- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda \r\n- Relevant/affected Python packages and their versions: --\r\n\r\n## Expected behaviour\r\n\r\nMicrosoft.Python.LanguageServer is using a reasonable amount of ressources.\r\n\r\n## Actual behaviour\r\n\r\nMicrosoft.Python.LanguageServer is using 100%+ CPU Power which is of course draining my battery very fast.\r\n\r\n## Steps to reproduce:\r\n1. Install and git pull the library [fast.ai](https://github.com/fastai/fastai)\r\n2. Open the folder in VSCode\r\n\r\n## Logs\r\nOutput for `Python` in the `Output` panel (`View`→`Output`, change the drop-down the upper-right of the `Output` panel to `Python`)\r\n\r\n```\r\nThere's no output generated.\r\n``` \r\n\r\nOutput from `Console` under the `Developer Tools` panel (toggle Developer Tools on under `Help`)\r\n\r\n```\r\n[ms-python.python]: Command `python.datascience.exportoutputasnotebook` appears multiple times in the `commands` section.\r\nTMSyntax.ts:46 Overwriting grammar scope name to file mapping for scope source.python.\r\nOld grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/python/syntaxes/MagicPython.tmLanguage.json.\r\nNew grammar file: file:///Users/kai/.vscode/extensions/magicstack.magicpython-1.1.0/grammars/MagicPython.tmLanguage\r\ne.register @ TMSyntax.ts:46\r\nt._handleGrammarExtensionPointUser @ TMSyntax.ts:329\r\n(anonymous) @ TMSyntax.ts:182\r\ne._handle @ extensionsRegistry.ts:114\r\ne.acceptUsers @ extensionsRegistry.ts:98\r\nt._handleExtensionPoint @ extensionService.ts:490\r\nt._onHasExtensions @ extensionService.ts:344\r\n(anonymous) @ extensionService.ts:332\r\n(anonymous) @ errors.ts:237\r\ns.__generator.a.label @ errors.ts:237\r\ns @ errors.ts:237\r\nPromise resolved (async)\r\nc @ errors.ts:237\r\ns @ errors.ts:237\r\nPromise resolved (async)\r\nc @ errors.ts:237\r\no @ errors.ts:237\r\no @ errors.ts:237\r\nt._scanAndHandleExtensions @ extensionService.ts:319\r\n(anonymous) @ extensionService.ts:114\r\nrequestIdleCallback (async)\r\nt.runWhenIdle @ async.ts:730\r\n(anonymous) @ extensionService.ts:111\r\nPromise resolved (async)\r\nt._startDelayed @ extensionService.ts:109\r\nt @ extensionService.ts:90\r\nt.create @ types.ts:165\r\ne._createInstance @ instantiationService.ts:104\r\ne.createInstance @ instantiationService.ts:69\r\nt.initServiceCollection @ shell.ts:466\r\nt.renderContents @ shell.ts:171\r\nt.open @ shell.ts:528\r\n(anonymous) @ main.ts:147\r\nPromise resolved (async)\r\n(anonymous) @ main.ts:129\r\nPromise resolved (async)\r\n(anonymous) @ main.ts:125\r\nPromise resolved (async)\r\n(anonymous) @ main.ts:116\r\nG @ main.ts:86\r\n(anonymous) @ workbench.js:30\r\nPromise resolved (async)\r\nbootstrapWindow.load.removeDeveloperKeybindingsAfterLoad @ workbench.js:26\r\nexports.load.e @ bootstrap-window.js:123\r\nt._invokeFactory @ loader.js:970\r\nt.complete @ loader.js:980\r\ns._onModuleComplete @ loader.js:1580\r\ns._onModuleComplete @ loader.js:1592\r\ns._onModuleComplete @ loader.js:1592\r\ns._onModuleComplete @ loader.js:1592\r\ns._resolve @ loader.js:1542\r\ns.defineModule @ loader.js:1206\r\ns._onLoad @ loader.js:1283\r\n(anonymous) @ loader.js:1453\r\ne.triggerCallback @ loader.js:594\r\n(anonymous) @ loader.js:588\r\nt.load @ loader.js:745\r\ne.load @ loader.js:588\r\ni @ loader.js:1448\r\n(anonymous) @ loader.js:1456\r\ne.triggerErrorback @ loader.js:601\r\n(anonymous) @ loader.js:588\r\n(anonymous) @ loader.js:751\r\nreadFileAfterOpen @ fs.js:420\r\nextensionHost.ts:329 [Extension Host] debugger listening on port 65352\r\nextensionHost.ts:235 Extension Host\r\nextensionHost.ts:236 Debugger listening on ws://127.0.0.1:65352/8dd1261d-3e1b-46fa-95cc-1cad6f5fd490\r\nFor help see https://nodejs.org/en/docs/inspector\r\n\r\nlog.ts:157 INFO no standard startup: not a new window\r\nconsole.ts:134 [Extension Host] [UriError]: Scheme is missing: {scheme: \"\", authority: \"\", path: \"\", query: \"\", fragment: \"\"}\r\nt.log @ console.ts:134\r\nt._logExtensionHostMessage @ extensionHost.ts:453\r\n(anonymous) @ extensionHost.ts:244\r\nemitTwo @ events.js:126\r\nemit @ events.js:214\r\nemit @ internal/child_process.js:772\r\n_combinedTickCallback @ internal/process/next_tick.js:141\r\n_tickCallback @ internal/process/next_tick.js:180\r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */python\r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */*/python\r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: {\"$mid\":1,\"fsPath\":\"/Users/kai/Dropbox/SCRATCH/fastai\",\"external\":\"file:///Users/kai/Dropbox/SCRATCH/fastai\",\"path\":\"/Users/kai/Dropbox/SCRATCH/fastai\",\"scheme\":\"file\"}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */python\r\nconsole.ts:134 [Extension Host] Python Extension: Create file systemwatcher with pattern */*/python\r\nconsole.ts:134 [Extension Host] Python Extension: Display locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Notify locators are locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Detected refreshing of Interpreters, Arg 1: {}, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: {\"$mid\":1,\"fsPath\":\"/Users/kai/Dropbox/SCRATCH/fastai\",\"external\":\"file:///Users/kai/Dropbox/SCRATCH/fastai\",\"path\":\"/Users/kai/Dropbox/SCRATCH/fastai\",\"scheme\":\"file\"}, Return Value: UNABLE TO DETERMINE VALUE\r\nconsole.ts:134 [Extension Host] Python Extension: Register Intepreter Watcher, Arg 1: undefined, Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Build the workspace interpreter watcher, Arg 1: undefined, Return Value: UNABLE TO DETERMINE VALUE\r\nconsole.ts:134 [Extension Host] Python Extension: Get Platform Version, , Return Value: {\"raw\":\"18.2.0\",\"major\":18,\"minor\":2,\"patch\":0,\"prerelease\":[],\"build\":[],\"version\":\"18.2.0\"}\r\nconsole.ts:134 [Extension Host] Python Extension: Get language server folder name, , Return Value: \"languageServer.0.1.72\"\r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Hide locator refreshing progress, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: All locators have completed locating, , Return Value: \r\nconsole.ts:134 [Extension Host] Python Extension: Checking whether locactors have completed locating, , Return Value: \r\n```\r\n\n\n","author":{"url":"https://github.com/d3r3kk","@type":"Person","name":"d3r3kk"},"datePublished":"2018-12-17T18:13:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/495/python-language-server/issues/495"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ce00795a-8e02-1614-8f51-d97650cc4813 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD90:3F4811:EABE7F:1578968:6A4E3200 |
| html-safe-nonce | 2560bfc73f3fbfa4e0081522dd2edc0a8e700172c18b1d610f7322ad051b0fcd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDkwOjNGNDgxMTpFQUJFN0Y6MTU3ODk2ODo2QTRFMzIwMCIsInZpc2l0b3JfaWQiOiI1MjU1NzkxNDU1MTU5MzMzMzc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 27b2922fa64c8ee414455f4410ef8deb6f24b7d9d99c406ecf920d12d3ab6cdd |
| hovercard-subject-tag | issue:391831561 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/495/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fdc50ddaee3d0097413c3e2bf0e4a1374325fd1694cb71239c2b3cd4479c393d/microsoft/python-language-server/issues/495 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fdc50ddaee3d0097413c3e2bf0e4a1374325fd1694cb71239c2b3cd4479c393d/microsoft/python-language-server/issues/495 |
| og:image:alt | @KaiLicht commented on Sun Dec 16 2018 Environment data VS Code version: 1.30.0 Extension version (available under the Extensions sidebar): 2018.12.1 OS and version: macOS 10.14.1 Python version (&... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | d3r3kk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42a6d378d7587a44c93aca255096cd66b7c8eb2d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width