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/.