From: hemant Date: 2008-06-27T02:43:12+09:00 Subject: Re: Threads, Queues and possible memory leak On 6/26/08, ara.t.howard wrote: > > On Jun 26, 2008, at 5:36 AM, hemant wrote: > > > > I have also tried using 'dike', but couldn't get any meaningful dump ( > > Ara, may be you can throw some pointers). > > > > will dike you need at least two dumps and then take deltas. typically > you'd actually look at the deltas of deltas to see long term trends, which > is a manual process. do you mean you couldn't dump or that the dumps didn't > make sense? > Well, i didn't get any dump at all. I got 0,1 files in log directory, but they had nothing in it, except [] ( in one of them and other one was empty). I will try sometime later today. > If you think there's a 'real' memory leak then valgrind is your friend. > Also trying ruby from svn might help [latest]. I have tried running with ruby1.9 trunk and leaks seems to occur really slow. I mean, with some 150 thousand messages in queue, in ruby1.8 memory shoots up to 400 MB, but with ruby1.9 it stays around 52MB.