- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 562
 
Open
Labels
bugSomething isn't workingSomething isn't workingneeds:triageIssues that have not been investigated yet.Issues that have not been investigated yet.scope:nodeRelated to MSW running in NodeRelated to MSW running in Node
Description
Prerequisites
- I confirm my issue is not in the opened issues
 - I confirm the Frequently Asked Questions didn't contain the answer to my issue
 
Environment check
-  I'm using the latest 
mswversion - I'm using Node.js version 20 or higher
 
Node.js version
20.13.0
Reproduction repository
https://github.com/leaveswoods/msw-mem-leak
Reproduction steps
- Clone the repo: https://github.com/leaveswoods/msw-mem-leak
 - Install Node.js 20
 - Under test project root
 - Run 
./runMswMinimalTest.sh - Check the logs for heap usage before and after the tests.
 
Current behavior
The heap usage is increasing significantly after test with msw even though
- we force gc after test completed.
 - we close msw server in the end.
 
Expected behavior
The heap usage should not increase overtime with msw enabled.
jakeewalker, jordems, mlevi15, kettanaito, HirokiOmote and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds:triageIssues that have not been investigated yet.Issues that have not been investigated yet.scope:nodeRelated to MSW running in NodeRelated to MSW running in Node