My script that uses ActiveRecord to retreive about 1mil of records from
database runs out of memory in about 10 second and crashes. Is there any
way to significantly reduce memory footprint? The line in question is a
simple object.find(:all, :conditions => “…”)
Help would be much appreciated.