This email is to be read subject to the disclaimer below.

I've been watching the task manager as sudgested, and it does in fact show 
continual grouth in mem. usage. Is there anaything I can do to resolve 
this problem?

Thanks

Leon Ouretski





[EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
15/12/2006 10:23 PM
Please respond to
[email protected]
All email is logged and may be reviewed - Refer policy FP206

To
[email protected]
cc

Subject
Wtr-general Digest, Vol 37, Issue 26





Message: 6
Date: Thu, 14 Dec 2006 15:35:12 -0800
From: "Chris McMahon" <[EMAIL PROTECTED]>
Subject: Re: [Wtr-general] Failed to allocate memory error.
To: [email protected]
Message-ID:
 <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

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
>
>
>
>




--------------------
NOTICE - This communication contains information which is confidential and the 
copyright of Ernst & Young or a third party. 

If you are not the intended recipient of this communication please delete and 
destroy all copies and telephone Ernst & Young on 1800 655 717 immediately. If 
you are the intended recipient of this communication you should not copy, 
disclose  or distribute this communication without the authority of Ernst & 
Young.

Any views expressed in this Communication are those of the individual sender, 
except where the sender specifically states them to be the views of Ernst & 
Young.

Except as required at law, Ernst & Young does not represent, warrant and/or 
guarantee that the integrity of this communication has been maintained nor that 
the communication is free of errors, virus, interception or interference.

Liability limited by a scheme approved under Professional Standards Legislation.
--------------------


If this communication is a "commercial electronic message" (as defined in the 
Spam Act 2003) and you do not wish to receive communications such as this, 
please forward this communication to [EMAIL PROTECTED]
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to