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
Domain: github.com
{"@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\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-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c7a6c6ea-f165-9b09-29d3-a99e1e7d1288 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DCEC:22BB81:B1E55:E7FB6:6AFE5242 |
| html-safe-nonce | d0b08bc5c09ebe213437b5137b90fcf6f9c18b2d846791e0db8b85a50c908f4d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0VDOjIyQkI4MTpCMUU1NTpFN0ZCNjo2QUZFNTI0MiIsInZpc2l0b3JfaWQiOiIxODM0MDg5NjU3MjU2NTMwNDk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c03ba5112738daee86db18c093212077ca8ec7acfa3e089dc762ac0be3396fcc |
| hovercard-subject-tag | issue:465930729 |
| 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/1298/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c0bb95b27000ab8643a9693e2df166e5789eff0c7f91519fec2eb3817be116b1/microsoft/python-language-server/issues/1298 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c0bb95b27000ab8643a9693e2df166e5789eff0c7f91519fec2eb3817be116b1/microsoft/python-language-server/issues/1298 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | CaselIT |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3ad2b58e42f481583284b895305360b61b0223636c9dde6d696b575347163a26 |
| 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 | 8df44dbe1c8091b38c3e0165c05a1e5c1563762e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width