Closed electricface closed 9 years ago
Hello,
What your program does is to continually add callbacks to the ioloop, without letting time to the ioloop to execute them. So they get stock-piled and eat your memory. Subroutines consume memory just like any other variable.
Note that you will obtain the same result with any other module that uses Mojo::IOLoop.
What is the real problem behind this? Do you receive events faster than you can store them in MongoDB?