René's URL Explorer Experiment


Title: High memory usage in 0.3.40(memory leak?) · Issue #1298 · microsoft/python-language-server · GitHub

Open Graph Title: High memory usage in 0.3.40(memory leak?) · Issue #1298 · microsoft/python-language-server

X Title: High memory usage in 0.3.40(memory leak?) · Issue #1298 · microsoft/python-language-server

Description: The fixed implemented in #832 worked for some releases, but I'm having again high memory usage problems (10gb+) with version 0.3.20 These seems to be due to a memory leak: if finishes analyzing the project without problems, using less th...

Open Graph Description: The fixed implemented in #832 worked for some releases, but I'm having again high memory usage problems (10gb+) with version 0.3.20 These seems to be due to a memory leak: if finishes analyzing the...

X Description: The fixed implemented in #832 worked for some releases, but I'm having again high memory usage problems (10gb+) with version 0.3.20 These seems to be due to a memory leak: if finishes analyzing...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"High memory usage in 0.3.40(memory leak?)","articleBody":"The fixed implemented in https://github.com/microsoft/python-language-server/issues/832 worked for some releases, but I'm having again high memory usage problems (10gb+) with version 0.3.20\r\n\r\nThese seems to be due to a memory leak: if finishes analyzing the project without problems, using less than 1gb in my case. After working on the project for some time it starts using more memory, even more than 10gb+.\r\n\r\nI've not kept note of the details regarding after how long or if there is an action that triggers it. I usually notice a slow down, check the task manager and usually the language service is using many gb of memory. I have not kept track to see it the increase in memory usage is sudden or more gradual.\r\n\r\nBelow are the packages of the project used and some system information. I haven't checked if I can reproduce this issue in other projects\r\n\r\nIs there some logging or telemetry I can enable to help with this issue?\r\n\r\nExtension version: 2019.6.22090\r\nMicrosoft Python Language Server version 0.3.20.0\r\nPython version: 3.6.8\r\nVS Code version: Code 1.36.0 (0f3794b38477eea13fb47fbe15a42798e6129338, 2019-07-03T13:25:46.372Z)\r\nOS version: Windows_NT x64 10.0.18362\r\n\r\n\u003cdetails>\r\n\u003csummary>requirements of the project\u003c/summary\r\n\r\n`argon2_cffi==18.3.0`  \r\n`python-dateutil==2.7.5`  \r\n`decorator==4.3.0`  \r\n`falcon>=2,\u003c3`  \r\n`falcon-auth==1.1.0`  \r\n`falcon-cors==1.1.7`  \r\n`graphene==2.1.3`  \r\n`graphene_sqlalchemy==2.0.0`  \r\n`jsonschema==2.6.0`  \r\n`keras>=2.1.2`  \r\n`numpy>=1.13.3`  \r\n`ortools\u003c7.1 `  \r\n`pandas>=0.22.0,!=0.24.0`  \r\n`psycopg2-binary>=2.7.3.2`  \r\n`psycopg2\u003c2.8`  \r\n`pyjwt>=1.6.4`  \r\n`scikit-learn>=0.19.1`  \r\n`scipy>=1.0.0`  \r\n`SQLAlchemy\u003c1.3.0`  \r\n`SQLAlchemy-Utils>=0.32.21`  \r\n`sqlalchemy-postgres-copy>=0.5.0`  \r\n`simplejson>=3.13.2`  \r\n`tensorflow==1.12.0`  \r\n`pyDOE>=0.3.8`  \r\n`geomdl>=4.1.0`  \r\n`pyomo==5.5.0`  \r\n`pyutilib>=5.6.3`  \r\n`joblib==0.11`  \r\n`pytest>=4.4.0`  \r\n`pytest-cov>=2.6.1`  \r\n`yapf>=0.20.0,!=0.27`  \r\n`flake8>=3.7.0`  \r\n`matplotlib>=2.2.3`  \r\n`waitress==1.1.0`  \r\n`pydot==1.2.4`  \r\n\r\n\u003c/details>\r\n\r\n\u003cdetails>\r\n\u003csummary>System Info\u003c/summary>\r\n\r\n![Screen](https://user-images.githubusercontent.com/16175304/60914134-2c5ca880-a289-11e9-9b7c-19facd70c96c.png)\r\n\r\n|Item|Value|\r\n|---|---|\r\n|CPUs|Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)|\r\n|GPU Status|2d_canvas: enabled\u003cbr>flash_3d: enabled\u003cbr>flash_stage3d: enabled\u003cbr>flash_stage3d_baseline: enabled\u003cbr>gpu_compositing: enabled\u003cbr>multiple_raster_threads: enabled_on\u003cbr>native_gpu_memory_buffers: disabled_software\u003cbr>oop_rasterization: disabled_off\u003cbr>protected_video_decode: enabled\u003cbr>rasterization: enabled\u003cbr>skia_deferred_display_list: disabled_off\u003cbr>skia_renderer: disabled_off\u003cbr>surface_synchronization: enabled_on\u003cbr>video_decode: enabled\u003cbr>viz_display_compositor: disabled_off\u003cbr>webgl: enabled\u003cbr>webgl2: enabled|\r\n|Load (avg)|undefined|\r\n|Memory (System)|23.84GB (10.36GB free)|\r\n|Process Argv|--folder-uri file:///c%3A/Users/path/to/folder|\r\n|Screen Reader|no|\r\n|VM|0%|\r\n\u003c/details>\r\n\u003c!-- generated by issue reporter -->","author":{"url":"https://github.com/CaselIT","@type":"Person","name":"CaselIT"},"datePublished":"2019-07-09T18:45:16Z","url":"https://github.com/microsoft/python-language-server/issues/1298"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c7a6c6ea-f165-9b09-29d3-a99e1e7d1288
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDCEC:22BB81:B1E55:E7FB6:6AFE5242
html-safe-nonced0b08bc5c09ebe213437b5137b90fcf6f9c18b2d846791e0db8b85a50c908f4d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0VDOjIyQkI4MTpCMUU1NTpFN0ZCNjo2QUZFNTI0MiIsInZpc2l0b3JfaWQiOiIxODM0MDg5NjU3MjU2NTMwNDk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc03ba5112738daee86db18c093212077ca8ec7acfa3e089dc762ac0be3396fcc
hovercard-subject-tagissue:465930729
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/1298/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c0bb95b27000ab8643a9693e2df166e5789eff0c7f91519fec2eb3817be116b1/microsoft/python-language-server/issues/1298
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c0bb95b27000ab8643a9693e2df166e5789eff0c7f91519fec2eb3817be116b1/microsoft/python-language-server/issues/1298
og:image:altThe fixed implemented in #832 worked for some releases, but I'm having again high memory usage problems (10gb+) with version 0.3.20 These seems to be due to a memory leak: if finishes analyzing the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCaselIT
hostnamegithub.com
expected-hostnamegithub.com
None3ad2b58e42f481583284b895305360b61b0223636c9dde6d696b575347163a26
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
release8df44dbe1c8091b38c3e0165c05a1e5c1563762e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/python-language-server/issues/1298#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1298
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1298
Sign uphttps://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/1298
Reloadhttps://github.com/microsoft/python-language-server/issues/1298
Reloadhttps://github.com/microsoft/python-language-server/issues/1298
microsofthttps://github.com/microsoft
python-language-serverhttps://github.com/microsoft/python-language-server
Codehttps://github.com/microsoft/python-language-server
Issues309 (309)https://github.com/microsoft/python-language-server/issues
Pull requests6 (6)https://github.com/microsoft/python-language-server/pulls
Projectshttps://github.com/microsoft/python-language-server/projects
Wikihttps://github.com/microsoft/python-language-server/wiki
Security and qualityhttps://github.com/microsoft/python-language-server/security
Insightshttps://github.com/microsoft/python-language-server/insights
https://github.com/microsoft/python-language-server
High memory usage in 0.3.40(memory leak?)https://github.com/microsoft/python-language-server/issues/1298#top
bugSomething isn't workinghttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22bug%22
memory sizehttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22memory%20size%22
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Jul 9, 2019https://github.com/microsoft/python-language-server/issues/1298#issue-465930729
#832https://github.com/microsoft/python-language-server/issues/832
https://user-images.githubusercontent.com/16175304/60914134-2c5ca880-a289-11e9-9b7c-19facd70c96c.png
Nexthttps://github.com/microsoft/python-language-server/issues/1298?timeline_page=1
https://github.com/AlexanderSher
Alexander Sher (AlexanderSher)https://github.com/AlexanderSher
on Jul 9, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-509763621
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Jul 9, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-509764772
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Jul 9, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-509767087
vscode python log.txthttps://github.com/microsoft/python-language-server/files/3374491/vscode.log.txt
https://github.com/AlexanderSher
Alexander Sher (AlexanderSher)https://github.com/AlexanderSher
on Jul 9, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-509771313
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Jul 9, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-509829763
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Jul 10, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-509951799
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Jul 10, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-509974352
https://user-images.githubusercontent.com/16175304/60955388-04109080-a301-11e9-871d-c4a09210e2f0.png
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Jul 10, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-510138997
https://user-images.githubusercontent.com/16175304/60987527-0a732c80-a342-11e9-9827-32224969113c.png
Alexander Sher (AlexanderSher)https://github.com/AlexanderSher
on Jul 10, 2019https://github.com/microsoft/python-language-server/issues/1298#event-2473883838
Alexander Sher (AlexanderSher)https://github.com/AlexanderSher
bugSomething isn't workinghttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22bug%22
on Jul 10, 2019https://github.com/microsoft/python-language-server/issues/1298#event-2473884627
Alexander Sher (AlexanderSher)https://github.com/AlexanderSher
on Jul 10, 2019https://github.com/microsoft/python-language-server/issues/1298#event-2473885182
https://github.com/AlexanderSher
Alexander Sher (AlexanderSher)https://github.com/AlexanderSher
on Jul 11, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-510593967
Federico Caselli (@CaselIT)https://github.com/CaselIT
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Jul 11, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-510627528
pip freeze.txthttps://github.com/microsoft/python-language-server/files/3383636/pip.freeze.txt
https://github.com/elinsky
Brian Elinsky (elinsky)https://github.com/elinsky
on Jul 12, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-511026463
https://github.com/jakebailey
Jake Bailey (jakebailey)https://github.com/jakebailey
on Jul 12, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-511026977
#1316https://github.com/microsoft/python-language-server/pull/1316
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
July 2019.2https://github.com/microsoft/python-language-server/milestone/22
August 2019.1https://github.com/microsoft/python-language-server/milestone/23
on Aug 6, 2019https://github.com/microsoft/python-language-server/issues/1298#event-2538069235
https://github.com/juliotux
Julio Campagnolo (juliotux)https://github.com/juliotux
on Aug 10, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-520169369
Jake Bailey (jakebailey)https://github.com/jakebailey
on Aug 13, 2019https://github.com/microsoft/python-language-server/issues/1298#event-2554990711
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
August 2019.1https://github.com/microsoft/python-language-server/milestone/23
August 2019.2https://github.com/microsoft/python-language-server/milestone/24
on Aug 15, 2019https://github.com/microsoft/python-language-server/issues/1298#event-2560147854
Tyreke White (Anapo14)https://github.com/Anapo14
August 2019.2https://github.com/microsoft/python-language-server/milestone/24
on Aug 21, 2019https://github.com/microsoft/python-language-server/issues/1298#event-2574464187
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Sep 4, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-527835266
dupheap stas.5.9gb.txthttps://github.com/microsoft/python-language-server/files/3573955/dupheap.stas.5.9gb.txt
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
Alexander Sher (AlexanderSher)https://github.com/AlexanderSher
on Oct 9, 2019https://github.com/microsoft/python-language-server/issues/1298#event-2700095153
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Oct 19, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-544125235
sqlalchemy libraryhttps://github.com/sqlalchemy/sqlalchemy
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-566259028
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-566272704
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-566273754
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/python-language-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1298#event-2887724949
https://github.com/CaselIT
Federico Caselli (CaselIT)https://github.com/CaselIT
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1298#issuecomment-566274365
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/python-language-server/issues/1298
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/python-language-server/issues/1298
bugSomething isn't workinghttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22bug%22
memory sizehttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22memory%20size%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.