google-auth-library leaks memory when it is imported #525
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Whenever
google-auth-library
is imported in our codebase, our test suites start crashing withFATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
I was able to isolate this to an issue with a downstream dependency,
agent-base
, which has an open issue: TooTallNate/node-agent-base#22Environment details
10.13.0
yarn 1.7.0
google-auth-library
version: 2.0.0Steps to reproduce
You can reproduce using
jest --detectLeaks
, like in the linked issue:The text was updated successfully, but these errors were encountered: