-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Open
Labels
Area-QualityStability, Performance, Etc.Stability, Performance, Etc.Impact-CorrectnessIt be wrong.It be wrong.Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-3A description (P3)A description (P3)Product-ConhostFor issues in the Console codebaseFor issues in the Console codebase
Milestone
Description
Windows Terminal version
1.22.12111.0
Windows build number
10.0.26100.4946
Other Software
No response
Steps to reproduce
Enter curl https://s1.cubzyn.net/other/curl.me.php (which curls a large amount of binary to the terminal)
And now even if the user closes the terminal window even after the command finished the console window and PTY process uses many gigabytes of RAM and continues to use more until it crashes. I have attached the source code of the PHP script.
Expected Behavior
Since binary is being sent to terminal some issues are expected such as bells, messed up terminal or messed up input. However not a large memory leak.
Actual Behavior
Terminal freezes when command finishes due to the memory leak and leaks gigabytes of memory in the PTY host process until it crashes.
Metadata
Metadata
Assignees
Labels
Area-QualityStability, Performance, Etc.Stability, Performance, Etc.Impact-CorrectnessIt be wrong.It be wrong.Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-3A description (P3)A description (P3)Product-ConhostFor issues in the Console codebaseFor issues in the Console codebase