I just got
test_select_members.rb:55:in `<<': failed to allocate memory (NoMemoryError)
trying to put the contents of a large SQL table into an array.


On 12/14/06, Chris McMahon <[EMAIL PROTECTED]> wrote:



> Hi, I've resolved the Segmentation fault error by installing Ruby 1.8.2,
> however I now get a new error (although it is much further into the run than
> before):
>
>         [FATAL] failed to allocate memory



I'll bet it's a *lot* further into the run.  Watch Task Manager and see
how much memory your Ruby process is allocating.  Look through your code for
something like

my_big_array = []
my string = "foo"
1.upto 1000000
  my_big_array << my_string
  end




_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to