From: Benjamin Oakes Date: 2008-03-11T20:22:37+09:00 Subject: Re: newbie question regarding memory leak On Tue, Mar 11, 2008 at 1:33 AM, Venkat Bagam wrote: > Hi, Recently, I have written a ruby program for web-scraping. But its a > bit slow and consumes enormous memory due to a possible memory leak. I > am very new to these memory leak issues. Please find my code in the > attachment. > > Can anyone patiently go through my code and figure out where the > possible mem leak occurs? Any help/suggestion greatly appreciated... > > thanks & regards, > Venkat Bagam > > Attachments: > http://www.ruby-forum.com/attachment/1561/test4.rb > > -- > Posted via http://www.ruby-forum.com/. > > Where do you think your memory leak is? (Also, why don't you think Ruby's garbage collecting is handling it? Maybe you have references to things you're not using anymore?) -- Ben (aka divokz)