From: Edouard Dantes Date: 2009-03-18T00:23:48+09:00 Subject: Re: free RAM problem > Without seeing code it's hard to comment, Thanks for answer, well, the loops are too basic to create problems, it's fill array with values & write to file. RAM jumps are too erratic (5 or 10% for 2GB RAM) The only processor angry stuff (and possibly RAM too) is the following parsing line, imported from another file. Nokogiri::HTML(page).css('div a').map{|dts| dts.text.gsub(/\s+/,"").gsub(/[^A-Za-z0-9\s]/,'Z') } This line runs thousands of time, might the implied regex feed RAM with datas without cleaning? thanks -- Posted via http://www.ruby-forum.com/.