You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to be a memory leak in the latest version when calling .exec() within a promise.
I tested two last versions (1.0.23 and 1.0.24) with node 10.14.2 using the test code below. The standard callback approach works just fine in both versions. But when using promises I observed significant heap usage growth in version 1.0.24.
I can confirm having memory leak issues as well using the most recent version. I have a simple ExpressJS API setup to retrieve data for an internal webapp.
Using async/await the app quickly grows in memory usage crashes.
Just now refactored to not use async/await and the app's heap usage never gets close in comparison.
It seems to be a memory leak in the latest version when calling .exec() within a promise.
I tested two last versions (1.0.23 and 1.0.24) with node 10.14.2 using the test code below. The standard callback approach works just fine in both versions. But when using promises I observed significant heap usage growth in version 1.0.24.
Thank you very much in advance,
Viktor
Test results:
Test :
The text was updated successfully, but these errors were encountered: