On Sep 11, 9:35 am, Abel
<abel.tam...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Say you have a table with a very high number or entries and you
> perform a search that would bring out a lot of results like this:
>
> a = Ad.find :all
>
> My question is how is this stored in memory? can this crash your
> server or freeze it or is it safe to use in production?
Nothing magic is happening so this could quite conceivably cause the
ruby process to run out of memory.
Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---