I updated Ferret to 0.11.4 and I'm with the same behavior.

Now, the few queries bellow made the memory allocation jumps from 30MB 
to 764MB:

call index method: find_id_by_contents with ["manoel*", 
{:sort=>[posted_at_sort:<integer>!], :offset=>0, :limit=>10}]call index 
method: find_id_by_contents with ["a* OR e* OR i* OR o* OR u*", 
{:sort=>[posted_at_sort:<integer>!], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["a* OR e* OR i* OR o* OR 
u*", {:sort=>[posted_at_sort:<integer>!], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["a* OR e* OR i* OR o* OR 
u*", {:sort=>[posted_at_sort:<integer>!], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["a* OR e* OR i* OR o* OR 
u*", {:sort=>[last_updated_at_sort:<integer>!], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["a* OR e* OR i* OR o* OR 
u*", {:sort=>[login_sort:<integer>], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["a* OR e* OR i* OR o* OR 
u*", {:sort=>[login_sort:<integer>], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["b* OR c* OR d* OR f* OR 
g*", {:sort=>[posted_at_sort:<integer>!], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["b* OR c* OR d* OR f* OR 
g*", {:sort=>[posted_at_sort:<integer>!], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["b* OR c* OR d* OR f* OR 
g*", {:sort=>[last_updated_at_sort:<integer>!], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["b* OR c* OR d* OR f* OR 
g*", {:sort=>[last_updated_at_sort:<integer>!], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["b* OR c* OR d* OR f* OR 
g*", {:sort=>[login_sort:<integer>], :offset=>0, :limit=>10}]
call index method: find_id_by_contents with ["b* OR c* OR d* OR f* OR 
g*", {:sort=>[login_sort:<integer>], :offset=>0, :limit=>10}]

[]s

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to