> One culprit could be mechanize.  Mechanize keeps a history of the pages
> you've visited, and if you don't limit that length it will grow 
> infinitely.
> 
> Try setting the max history:
> 
>   http://mechanize.rubyforge.org/mechanize/WWW/Mechanize.html#M000173

Thanks, but I've already try this... mem leak happens even when I use 
"net/http" with Hpricot
-- 
Posted via http://www.ruby-forum.com/.