On Sep 15, 2011, at 1:04 AM, Tsyren Ochirov wrote:

> Chuck Remes wrote in post #1022009:
>> On Sep 14, 2011, at 11:31 AM, Tsyren Ochirov wrote:
>> 
>>> I'v tried to research by myself the way how find memory leak in our app.
>>> 
>>> So, my question is how to find memory leak in very complex Ruby app and
>>> not put all my life into this work?
>> 
>> I also recommend trying to run your code under JRuby and Rubinius. Both
>> have very powerful tools for detecting and finding memory leaks, so
>> those other runtimes may help shed some light on your problem.
>> 
>> cr
> 
> Chuck, thx to mention this way. I'd said that EM is bugging under JRuby, 
> and it's nice that you notice Rubinius. I'll try it!


Be sure you are running the latest Eventmachine from its master branch. I believe you can install it like so:

% gem install eventmachine --pre

If you are still running 0.12.10, then it's probable that Eventmachine is the source of your leak. Update to the latest and try again.

cr