Meteor.js and socket connection - memory leak

I have a problem with Meteor.js and leak memory. I’ve used node-ddp npm plugin to simulate N users for my Meteor.js instance. Furthermore, the application is connected with Kadira.

I simulate ~1300 users and Kadira shown that I’ve used ~220MB (previously was 100MB).

What is strange, when I stopped the simulation memory was at the same level (220MB) but Kadira shown that I have only one active session (the rest of users are correctly disconnected).

Why memory is on the same level after disconnect all the users?

Cheers!

1 Like