Node version: 16+. On updating mongodb npm version to 5.9.2 in loopback 3 app, we are seeing memory leak in nodejs app with memory going upto 2.35 GB. On analysing memory heapdump, we see ClientSession objects not freeing up memory.
Is there a known memory issue in this mongodb version 5.9.2?
Can someone suggest a solution? We are considering updating mongodb npm package to version 6+.
Thanks
I’m experiencing the same issue with Node version 16+ and driver version 5.9.2. Have you resolved this problem, or are you considering upgrading to version 6+?