-
Notifications
You must be signed in to change notification settings - Fork 54
Memory leak starting with version 3.0.12 #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
fpavageau
added a commit
to fpavageau/microgateway-plugins
that referenced
this issue
Apr 1, 2020
This is due to debug-js/debug#678. Fixes apigee#174
fpavageau
added a commit
to fpavageau/microgateway-plugins
that referenced
this issue
Apr 1, 2020
This is due to debug-js/debug#678. Fixes apigee#174
fpavageau
added a commit
to fpavageau/microgateway-plugins
that referenced
this issue
Apr 15, 2020
This is due to debug-js/debug#678. Fixes apigee#174
keyurkarnik
pushed a commit
that referenced
this issue
Apr 15, 2020
This is due to debug-js/debug#678. Fixes #174
keyurkarnik
pushed a commit
that referenced
this issue
Apr 15, 2020
This is due to debug-js/debug#678. Fixes #174
keyurkarnik
pushed a commit
that referenced
this issue
Apr 15, 2020
This is due to debug-js/debug#678. Fixes #174
keyurkarnik
pushed a commit
that referenced
this issue
Apr 15, 2020
This is due to debug-js/debug#678. Fixes #174
keyurkarnik
pushed a commit
that referenced
this issue
Apr 15, 2020
This is due to debug-js/debug#678. Fixes #174
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This refactoring between 3.0.11 and 3.0.12 introduced a memory leak, through the dynamic creation of
debug
instances. See debug-js/debug#678, and the possible fix currently waiting in debug-js/debug#740. This impacts apigee-internal/microgateway in version 3.1.0 and above.A possible fix is to locally cache the
debug
instance created for each component, instead of creating a new one for each request.It would also be possible to pass the existing
debug
instance instead of the component name as the parameter tocheckIfAuthorized()
, but I guess it's less abstract.The text was updated successfully, but these errors were encountered: