Hello, recently I upgraded our app to Meteor 3 and app performance took a hit.
My app is deployed to a self managed server using meteor-up.
When checking the server using lazydocker, there are errors like Javascript heap out of memory and Mongo Pool Connection error.
MontiAPM shows a huge increases in memory usage and total sessions after the meteor 3 deployment, screenshot below.
I think there might be a memory leak, though not sure where to start looking and how.
Any ideas?
Thanks
What is your mongo pool maxSize?
I have maxPoolSize=150
Try lowering that, for example setting to 25. Then tune / increase the size after measuring resource usage.
This will obviously throttle db operations and potentially increase pool queue size and checkout times.
But start somewhere lower, then tune from there.

