René's URL Explorer Experiment


Title: High memory usage · Issue #832 · microsoft/python-language-server · GitHub

Open Graph Title: High memory usage · Issue #832 · microsoft/python-language-server

X Title: High memory usage · Issue #832 · microsoft/python-language-server

Description: @suiahaw commented on Tue Mar 26 2019 Issue Type: Bug Some questions about the python plugin encountered when building python library indexes I strongly hope that the python plugin does not read the information into memory in real time w...

Open Graph Description: @suiahaw commented on Tue Mar 26 2019 Issue Type: Bug Some questions about the python plugin encountered when building python library indexes I strongly hope that the python plugin does not read th...

X Description: @suiahaw commented on Tue Mar 26 2019 Issue Type: Bug Some questions about the python plugin encountered when building python library indexes I strongly hope that the python plugin does not read th...

Opengraph URL: https://github.com/microsoft/python-language-server/issues/832

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"High memory usage","articleBody":"@suiahaw commented on [Tue Mar 26 2019](https://github.com/Microsoft/vscode-python/issues/4952)\n\nIssue Type: \u003cb\u003eBug\u003c/b\u003e\r\n\r\n### Some questions about the python plugin encountered when building python library indexes\r\nI strongly hope that **the python plugin does not `read the information into memory in real time `when creating the python library index**, **but `instead saves the index file`** in order to speed up the time and reduce memory overhead. \r\n\r\nThe python library is really too big. Sometimes I have to wait a few minutes for writing a small amount of code.\r\n\r\nExtension version: 2019.3.6139\r\nVS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z)\r\nOS version: Windows_NT x64 10.0.17763\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003eSystem Info\u003c/summary\u003e\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 2712)|\r\n|GPU Status|2d_canvas: enabled\u003cbr\u003echecker_imaging: disabled_off\u003cbr\u003eflash_3d: enabled\u003cbr\u003eflash_stage3d: enabled\u003cbr\u003eflash_stage3d_baseline: enabled\u003cbr\u003egpu_compositing: enabled\u003cbr\u003emultiple_raster_threads: enabled_on\u003cbr\u003enative_gpu_memory_buffers: disabled_software\u003cbr\u003erasterization: enabled\u003cbr\u003esurface_synchronization: enabled_on\u003cbr\u003evideo_decode: enabled\u003cbr\u003ewebgl: enabled\u003cbr\u003ewebgl2: enabled|\r\n|Memory (System)|15.86GB (8.60GB free)|\r\n|Process Argv||\r\n|Screen Reader|no|\r\n|VM|46%|\r\n\r\n\u003c/details\u003e\r\n\u003c!-- generated by issue reporter --\u003e\n\n---\n\n@algo99 commented on [Wed Mar 27 2019](https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477034361)\n\nI can confirm, on Windows 10.\r\n\r\nAfter update (yesterday) of Python Language Server and/or vscode_python extension VSCode  not more usable. See the disk I/O and memory consumption:\r\n\r\n![vscode_python_language_server](https://user-images.githubusercontent.com/28513219/55060755-7c18ba80-5072-11e9-8b79-5e5566d9dd69.jpg)\r\n\r\nThe extension proceeds after VSCode start:\r\n\u003e Analyzing in background, 6879 items left ...\r\n\r\nand this process does not stop.\r\nI tried several times to restart VSCode, but it does not help.\r\n\r\n\n\n---\n\n@algo99 commented on [Wed Mar 27 2019](https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477038799)\n\nJust noted in Python  output pane:\r\n```log\r\n...\r\n[Info  - 09:17:10] Microsoft Python Language Server version 0.2.31.0\r\n[Info  - 09:17:10] Initializing for c:\\3rd\\WinPython\\python-3.7.2.amd64\\python.exe\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\zkr\\.vscode\\extensions\\ms-python.python-2019.3.6139\\languageServer.0.2.31\\scrape_module.py\", line 1497, in \u003cmodule\u003e\r\n    state.collect_second_level_members()\r\n  File \"C:\\Users\\zkr\\.vscode\\extensions\\ms-python.python-2019.3.6139\\languageServer.0.2.31\\scrape_module.py\", line 944, in collect_second_level_members\r\n    self._collect_members(mi.value, mi.members, substitutes, mi)\r\n  File \"C:\\Users\\zkr\\.vscode\\extensions\\ms-python.python-2019.3.6139\\languageServer.0.2.31\\scrape_module.py\", line 958, in _collect_members\r\n    raise RuntimeError(\"failed to import module\")\r\nRuntimeError: failed to import module\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\zkr\\.vscode\\extensions\\ms-python.python-2019.3.6139\\languageServer.0.2.31\\scrape_module.py\", line 1497, in \u003cmodule\u003e\r\n    state.collect_second_level_members()\r\n  File \"C:\\Users\\zkr\\.vscode\\extensions\\ms-python.python-2019.3.6139\\languageServer.0.2.31\\scrape_module.py\", line 944, in collect_second_level_members\r\n    self._collect_members(mi.value, mi.members, substitutes, mi)\r\n  File \"C:\\Users\\zkr\\.vscode\\extensions\\ms-python.python-2019.3.6139\\languageServer.0.2.31\\scrape_module.py\", line 958, in _collect_members\r\n    raise RuntimeError(\"failed to import module\")\r\nRuntimeError: failed to import module\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\zkr\\.vscode\\extensions\\ms-python.python-2019.3.6139\\languageServer.0.2.31\\scrape_module.py\", line 1489, in \u003cmodule\u003e\r\n    state.initial_import(sys.argv[2])\r\n  File \"C:\\Users\\zkr\\.vscode\\extensions\\ms-python.python-2019.3.6139\\languageServer.0.2.31\\scrape_module.py\", line 872, in initial_import\r\n    mod = __import__(self.module_name)\r\n  File \"c:\\3rd\\winpython\\python-3.7.2.amd64\\lib\\site-packages\\cvxopt\\__init__.py\", line 50, in \u003cmodule\u003e\r\n    import cvxopt.base\r\nImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.\r\n```\r\n\n\n---\n\n@dilzeem commented on [Wed Mar 27 2019](https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477094651)\n\nI am also getting the same issue as well on Windows 10.\r\n\r\nIt only happens once I start debugging some code. \r\nIt renders VScode unusable.\n\n---\n\n@suiahaw commented on [Wed Mar 27 2019](https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477104176)\n\nIt only happens when the python plugin loads the python library, which requires a lot of CPU and memory. And these information that is loaded into memory is estimated to be used for IntelliCode.\n\n---\n\n@ray306 commented on [Wed Mar 27 2019](https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477128112)\n\nThe same problem happens today. I think it's a bug of new Python plugin just released yesterday (March 26).\n\n---\n\n@dilzeem commented on [Wed Mar 27 2019](https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477183669)\n\nPossibly a duplicate of of this in the python language server:\r\n\r\nhttps://github.com/Microsoft/python-language-server/issues/450\n\n---\n\n@suiahaw commented on [Wed Mar 27 2019](https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477190477)\n\n\u003e Possibly a duplicate of of this in the python language server:\r\n\u003e \r\n\u003e [Microsoft/python-language-server#450](https://github.com/Microsoft/python-language-server/issues/450)\r\n\r\nI also think that the issues area of the python plugin has a large part of similar content related to such a bug. It seems that this bug is very disturbing programming and needs to be solved urgently. ;-)\n\n","author":{"url":"https://github.com/gramster","@type":"Person","name":"gramster"},"datePublished":"2019-03-27T16:07:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":100},"url":"https://github.com/832/python-language-server/issues/832"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9fae9712-5a6d-24b5-3d1d-75fd117ecd57
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8510:327B79:24285C:31DE34:6A4C6CBC
html-safe-nonce6a6f1d1eabc11519fc9d3772a800f0713573a18a63f0f20ab16c36097f25b567
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTEwOjMyN0I3OToyNDI4NUM6MzFERTM0OjZBNEM2Q0JDIiwidmlzaXRvcl9pZCI6IjM5ODk0Mzc2MDUxMTIyMTI2NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8bbeb923bb9e6dbb3c32b9d250a957797cd918aa3599ac639b8338c743154dea
hovercard-subject-tagissue:426050445
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/832/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2862fb1a579eed6bd4c16611da70e95716df8d95051061b4732a8608c88d7752/microsoft/python-language-server/issues/832
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2862fb1a579eed6bd4c16611da70e95716df8d95051061b4732a8608c88d7752/microsoft/python-language-server/issues/832
og:image:alt@suiahaw commented on Tue Mar 26 2019 Issue Type: Bug Some questions about the python plugin encountered when building python library indexes I strongly hope that the python plugin does not read th...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegramster
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id145901977
octolytics-dimension-repository_nwomicrosoft/python-language-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145901977
octolytics-dimension-repository_network_root_nwomicrosoft/python-language-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release14099438da5379150f15a2892474c7c7e6c0e55e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/python-language-server/issues/832#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F832
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F832
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fpython-language-server
Reloadhttps://github.com/microsoft/python-language-server/issues/832
Reloadhttps://github.com/microsoft/python-language-server/issues/832
Reloadhttps://github.com/microsoft/python-language-server/issues/832
Please reload this pagehttps://github.com/microsoft/python-language-server/issues/832
microsoft https://github.com/microsoft
python-language-serverhttps://github.com/microsoft/python-language-server
Notifications https://github.com/login?return_to=%2Fmicrosoft%2Fpython-language-server
Fork 131 https://github.com/login?return_to=%2Fmicrosoft%2Fpython-language-server
Star 921 https://github.com/login?return_to=%2Fmicrosoft%2Fpython-language-server
Code https://github.com/microsoft/python-language-server
Issues 309 https://github.com/microsoft/python-language-server/issues
Pull requests 6 https://github.com/microsoft/python-language-server/pulls
Projects https://github.com/microsoft/python-language-server/projects
Models https://github.com/microsoft/python-language-server/models
Wiki https://github.com/microsoft/python-language-server/wiki
Security and quality 0 https://github.com/microsoft/python-language-server/security
Insights https://github.com/microsoft/python-language-server/pulse
Code https://github.com/microsoft/python-language-server
Issues https://github.com/microsoft/python-language-server/issues
Pull requests https://github.com/microsoft/python-language-server/pulls
Projects https://github.com/microsoft/python-language-server/projects
Models https://github.com/microsoft/python-language-server/models
Wiki https://github.com/microsoft/python-language-server/wiki
Security and quality https://github.com/microsoft/python-language-server/security
Insights https://github.com/microsoft/python-language-server/pulse
High memory usagehttps://github.com/microsoft/python-language-server/issues/832#top
Epichttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22Epic%22
performancehttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22performance%22
priority:P1https://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22priority%3AP1%22
https://github.com/gramster
gramsterhttps://github.com/gramster
on Mar 27, 2019https://github.com/microsoft/python-language-server/issues/832#issue-426050445
Tue Mar 26 2019https://github.com/Microsoft/vscode-python/issues/4952
@algo99https://github.com/algo99
Wed Mar 27 2019https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477034361
https://user-images.githubusercontent.com/28513219/55060755-7c18ba80-5072-11e9-8b79-5e5566d9dd69.jpg
@algo99https://github.com/algo99
Wed Mar 27 2019https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477038799
@dilzeemhttps://github.com/dilzeem
Wed Mar 27 2019https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477094651
Wed Mar 27 2019https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477104176
@ray306https://github.com/ray306
Wed Mar 27 2019https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477128112
@dilzeemhttps://github.com/dilzeem
Wed Mar 27 2019https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477183669
#450https://github.com/microsoft/python-language-server/issues/450
Wed Mar 27 2019https://github.com/Microsoft/vscode-python/issues/4952#issuecomment-477190477
Microsoft/python-language-server#450https://github.com/Microsoft/python-language-server/issues/450
Epichttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22Epic%22
performancehttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22performance%22
priority:P1https://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22priority%3AP1%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.