comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: error message:unable to allocate memory
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: error message:unable to allocate memory [message #55467] Tue, 21 August 2007 21:06
airy.jiang is currently offline  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 Go to previous message
James Kuyper is currently offline  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 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: seg fault with simple tv or tvrd()
Next Topic: Add one column based on the data in another column

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:36:41 PDT 2025

Total time taken to generate the page: 0.00903 seconds