https://github.com/zachhardesty7/vscode-problem-matcher-memory-leak
minimal reproduction case
https://github.com/zachhardesty7/vscode-problem-matcher-memory-leak
Last synced: about 1 year ago
JSON representation
minimal reproduction case
- Host: GitHub
- URL: https://github.com/zachhardesty7/vscode-problem-matcher-memory-leak
- Owner: zachhardesty7
- Archived: true
- Created: 2023-02-15T22:59:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T00:46:42.000Z (over 3 years ago)
- Last Synced: 2025-02-20T22:26:51.323Z (over 1 year ago)
- Language: TypeScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Reproduction steps
1. Disable all extensions
1. Run the "log hello world with an index 100000 times then sleep forever" task and wait for it to finish printing. It logs 100k times because it can take multiple hours of running a task like `tsc --watch` to echo to the console enough to visually witness the issue. It just gets us there quicker, but it happens no matter how you do it.
1. Open both `sample.ts` and `sample2.ts`
1. Close `sample2.ts` and reopen it about 10 or so times, waiting a few moments before closing it for VS Code to load the problems in the file and draw the red squiggle for the missing `typescript` package.
1. Observe VS Code freezing for longer and longer each time you close `sample2.ts` until it eventually crashes the `window` process

### demo video
https://user-images.githubusercontent.com/20326398/219228065-3446ea2c-8d4c-486c-b51d-98f54902ff19.mov