You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the testing feature, window memory usage keeps increasing
Body:
Does this issue occur when all extensions are disabled?: Yes/No
VS Code Version: 1.106.3 (user setup)
OS Version: Windows_NT x64 10.0.26100
Steps to Reproduce:
Click Test -> Run a test (python, pytest)
The window's memory usage keeps increasing. My tests are very long and may run for several days. Eventually, memory runs out and VS Code becomes unresponsive.
Even after manually clicking to end the test, window memory usage remains high.
🤖 Thanks for the report. Could you confirm whether this still occurs on the latest VS Code and Python extension releases, and provide the Python extension, Python, and pytest versions; a minimal long-running test; whether the test produces continuous stdout/stderr; and the Python: Report Issue output? Please also identify which process grows in Developer: Open Process Explorer and, if possible, compare memory growth with pytest output suppressed. Issues marked info-needed automatically close after 30 days without a reply.
Activity
vs-code-engineering commentedon Dec 2, 2025
AI Translation:
Title:
When using the testing feature, window memory usage keeps increasing
Body:
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
anthonykim1 commentedon Dec 10, 2025
I think the user is stating there may be memory leak after running Python tests
[-]使用测试功能时window占用内存会持续增加[/-][+] memory leak after running Python tests[/+]eleanorjboyd commentedon Sep 23, 2026
🤖 Thanks for the report. Could you confirm whether this still occurs on the latest VS Code and Python extension releases, and provide the Python extension, Python, and pytest versions; a minimal long-running test; whether the test produces continuous stdout/stderr; and the
Python: Report Issueoutput? Please also identify which process grows in Developer: Open Process Explorer and, if possible, compare memory growth with pytest output suppressed. Issues markedinfo-neededautomatically close after 30 days without a reply.