Skip to content

Clear pylint's LRU caches when using --clear-cache-post-run #8361

Closed

Description

Bug description

Many times a day, a python.exe process launched by ms-python.pylint takes up several GB of memory, and is uneager to release it. This has been reported at microsoft/vscode-pylint#280 with fairly straightforward reproduction steps. This is the result for me:
image

microsoft/vscode-pylint#280 credibly (for me) claims this should be reported here, so that's what I do.

Configuration

Irrelevant, I believe

Command used

Used extension

Pylint output

Irrelevant

Expected behavior

Irrelevant

Pylint version

pylint 2.16.2
astroid 2.14.2
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)]

OS / Environment

Windows 10 21H2

Additional dependencies

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

Bug 🪲Needs PRThis issue is accepted, sufficiently specified and now needs an implementation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions