Displaying 4 results from an estimated 4 matches for "find_in_batch".
Did you mean:
find_in_batches
2010 Dec 30
1
find_in_batches + query_cache = bloat
We''ve been using find_in_batches to reduce memory usage, and recently
noticed one of our more intensive background processes had a huge
memory footprint (600mb+) and was getting killed by our memory
monitor. We were unable to reproduce this in development, and after
investigation, the culprit is query_cache. Wrapping the task in...
2011 Apr 09
4
API documentation for find_in_batches
Hello,
At guides.rubyonrails.org I read about the possibilities of
find_in_batches. However I cannot find this option anywhere in the API
documentation (api.rubyonrails.org).
My question: where should I look for the documentation of this
command?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to thi...
2010 Aug 28
1
find_in_batches vs limit
Is the :limit option in the regular find call effectively same as
doing find_in_batches? or does doing something like the following
loads "all" of the record and then returns only 5?
find(:all, :conditions => [''age > ?'', age], :limit => 5)
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&qu...
2012 May 09
12
out of memory (java heap space) on zip creation (jruby)
I am using rubyzip and am trying to put a huge csv file with 1.4
million rows into the zip file.
Using jruby I get a out of heap error.
I believe the error happens in the block below:
Zip::ZipOutputStream.open(zip_path) do |zos|
zos.put_next_entry(File.basename(csv_path))
zos.print IO.read(csv_path)
end
--
You received this message because you are subscribed to the Google