I am running jest unit and integrations tests on my NodeJS api, I am facing some issue with possible memory leak. I tried upgrading Jest from 26.3.2 to 27.5.1, but that did not help much. I took some heap snapshot from chrome console.
Snapshot 2
Snapshot 4
From above snapshot I can see that the increase in usage is going very high. But I am unable to understand what's going on wrong.
I see something's up with String, Object and JSBufferData. But not sure what the issue is.
In case of string, I see this:

Multiple calls/lines for the stringified version of library, but where this comes from and why?
In case of Object:
The object in screenshot is possibly coming from a library I use countries-list this is to get list of countries to find ISO name.
And finally the JSBufferData, which points to something like URLSearchParam, but I am not using anywhere in my application any of the above object/library:

Stack I use:
NodeJS: 16.14.2 Jest: 27.5.1 jest-searial-runner: 1.2.0




