-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wasm][debugger][tests] Fix crash in
EvaluateOnCallFrameTests
on CI (…
…#69073) * Clean up debug messages * [wasm][debugger][tests] Allow MonoProxy instances to get gc'ed In `TestHarnessProxy`, we recently started adding proxy instances to a static table, to enable getting the correct exit state from the client. But the instances were not removed from the table, which prevented the GC from collecting them. This manifests as the test process crashing on systems with 8GB of memory, when running `EvaluateOnCallFrameTests`. It would end up getting to a resident size of 2.2-2.7G, and then crash after about 30 tests. With these changes, the proxy gets collected, and the resident memory hovers around 500M. Future work: this will change once we start using the upcoming app host work, and thus moving the proxy to a separate process via `dotnet run --debug`.
- Loading branch information
Showing
2 changed files
with
33 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters