Re: error message:unable to allocate memory [message #55467] |
Tue, 21 August 2007 21:06 |
airy.jiang
Messages: 37 Registered: May 2007
|
Member |
|
|
On 8 22 , 1 19 , kuyper <kuy...@wizard.net> wrote:
> incognito.me wrote:
>> Hi everyone,
>> I'm trying to solve a linear equation system of the type Ax=b with IDL
>> by using the procedure LA_SVD or SVDC.When A ist a small array the
>> result ist always zero.What doesn't really make sense.
>
> You're right, that doesn't make sense. That is not the normal result
> when you use those routines. It may be that there's some systematic
> problem with the particular linear equations you're working with.
> Could you give us the details of an example involving a small array
> where the result is 0?
I think there are 2 possibilities.First, that's what kuyper says,
"that is not the normal result when you use those
routines".Second,that's maybe it indeed made a big array so that the
system send the error message.About second possibility, I suggest you
to see this page:http://www.dfanning.com/fileio_tips/lgfiles.html.
Cheers!
|
|
|
Re: error message:unable to allocate memory [message #55472 is a reply to message #55467] |
Tue, 21 August 2007 10:19  |
James Kuyper
Messages: 425 Registered: March 2000
|
Senior Member |
|
|
incognito.me wrote:
> Hi everyone,
> I'm trying to solve a linear equation system of the type Ax=b with IDL
> by using the procedure LA_SVD or SVDC.When A ist a small array the
> result ist always zero.What doesn't really make sense.
You're right, that doesn't make sense. That is not the normal result
when you use those routines. It may be that there's some systematic
problem with the particular linear equations you're working with.
Could you give us the details of an example involving a small array
where the result is 0?
|
|
|
Re: error message:unable to allocate memory [message #55479 is a reply to message #55472] |
Tue, 21 August 2007 06:47  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
incognito.me writes:
> I'm trying to solve a linear equation system of the type Ax=b with IDL
> by using the procedure LA_SVD or SVDC.When A ist a small array the
> result ist always zero.What doesn't really make sense.When I attend to
> use big arrays (512x512) for A,I get the following error message:
> Unable to allocate memory:to make aray.
> I tried to use the TEMPORARY function,but it did't help.Can someone
> gives me an advice.
More RAM and/or bigger hard drive. (See SPAM for details.) :-)
Cheers,
David
P.S. You might also trying setting more of your current
hard drive (assuming you have some space on it) aside for
virtual memory.
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|