Open viktor-ch opened 5 years ago
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.
Has this been fixed?
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 :