Memory leak in terminal support #111562
Labels
author-verification-requested
Issues potentially verifiable by issue author
bug
Issue identified by VS Code Team member as probable bug
confirmed
Issue has been confirmed by VS Code Team member
insiders-released
Patch has been released in VS Code Insiders
terminal
General terminal issues that don't fall under another label
verified
Verification succeeded
Milestone
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: No
I investigated why it happened, and root caused it to a memory leak in xterm.js
It's possible to work around this issue by getting a buffer once, on xterm object creation, and using this object instead of a terminal.buffer. I checked, and it fixed the above problem. The memory consumption is stable, and vs code doesn't die.
The text was updated successfully, but these errors were encountered: