Re: Is there any progress about memory management in IDL? [message #66405] |
Tue, 12 May 2009 15:02 |
pgrigis
Messages: 436 Registered: September 2007
|
Senior Member |
|
|
On May 11, 8:18 am, Reimar Bauer <R.Ba...@fz-juelich.de> wrote:
> R.G. Stockwell schrieb:
>
>
>
>> <chenb...@gmail.com> wrote in message
>> news:312cedff-35a0-474e-b346-6df70bfb8631@z5g2000vba.googleg roups.com...
>>> Hi all,
>
>>> "Unable to allocate memory: to make array" frustrated a lot of
>>> people and was discussed a little bit in the past a few years, but
>>> there seems to be no very explicit solution. Is there anyone who
>>> knows progress regarding these issue?
>
>>> Bo
>
>> no. (per IDL)
>
>> yes. (per current computers and OSes)
>
>> I struggled with it quite a bit, and there is nothing
>> like a 64 bit OS with 16gb of ram to suddenly turn
>> the "unable to allocate memory" problem get filed
>> with "what if I am on dialup and call waiting comes in".
>
>> cheers,
>> bob
>
>> PS in fairness, i think it is a OS problem, not an IDL
>> problem, in most cases.
>
> PS in more fairness it is a user problem. The user chooses the OS and
> not the OS the user :)
No, the organization or company that the user works for mostly does :)
Ciao,
Paolo
|
|
|
Re: Is there any progress about memory management in IDL? [message #66429 is a reply to message #66405] |
Mon, 11 May 2009 05:18  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
R.G. Stockwell schrieb:
> <chenbo09@gmail.com> wrote in message
> news:312cedff-35a0-474e-b346-6df70bfb8631@z5g2000vba.googleg roups.com...
>> Hi all,
>>
>> "Unable to allocate memory: to make array" frustrated a lot of
>> people and was discussed a little bit in the past a few years, but
>> there seems to be no very explicit solution. Is there anyone who
>> knows progress regarding these issue?
>>
>> Bo
>
> no. (per IDL)
>
> yes. (per current computers and OSes)
>
> I struggled with it quite a bit, and there is nothing
> like a 64 bit OS with 16gb of ram to suddenly turn
> the "unable to allocate memory" problem get filed
> with "what if I am on dialup and call waiting comes in".
>
> cheers,
> bob
>
> PS in fairness, i think it is a OS problem, not an IDL
> problem, in most cases.
>
>
PS in more fairness it is a user problem. The user chooses the OS and
not the OS the user :)
|
|
|
Re: Is there any progress about memory management in IDL? [message #66447 is a reply to message #66429] |
Sat, 09 May 2009 14:35  |
R.G. Stockwell
Messages: 363 Registered: July 1999
|
Senior Member |
|
|
<chenbo09@gmail.com> wrote in message
news:312cedff-35a0-474e-b346-6df70bfb8631@z5g2000vba.googleg roups.com...
> Hi all,
>
> "Unable to allocate memory: to make array" frustrated a lot of
> people and was discussed a little bit in the past a few years, but
> there seems to be no very explicit solution. Is there anyone who
> knows progress regarding these issue?
>
> Bo
no. (per IDL)
yes. (per current computers and OSes)
I struggled with it quite a bit, and there is nothing
like a 64 bit OS with 16gb of ram to suddenly turn
the "unable to allocate memory" problem get filed
with "what if I am on dialup and call waiting comes in".
cheers,
bob
PS in fairness, i think it is a OS problem, not an IDL
problem, in most cases.
|
|
|
Re: Is there any progress about memory management in IDL? [message #66449 is a reply to message #66447] |
Fri, 08 May 2009 14:30  |
Jean H.
Messages: 472 Registered: July 2006
|
Senior Member |
|
|
chenbo09@gmail.com wrote:
> Hi all,
>
> "Unable to allocate memory: to make array" frustrated a lot of
> people and was discussed a little bit in the past a few years, but
> there seems to be no very explicit solution. Is there anyone who
> knows progress regarding these issue?
>
> Bo
this is not so much software related...
1) use IDL under Linux or windows 64 bits (both remove the limit of 2gb
max per process, and you have less/no "random RAM location" in use,
meaning bigger chunk of contiguous memory)
2) break your work in chunks... don't create 1 big array, but 2 small
ones etc. I often use a function that finds the available memory, and,
depending on the memory I will use in my own function, I decide what it
the max size of the array.
Jean
|
|
|
Re: Is there any progress about memory management in IDL? [message #66450 is a reply to message #66449] |
Fri, 08 May 2009 14:49  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
chenbo09@gmail.com writes:
> "Unable to allocate memory: to make array" frustrated a lot of
> people and was discussed a little bit in the past a few years, but
> there seems to be no very explicit solution. Is there anyone who
> knows progress regarding these issue?
I think everyone now believes the answer is a 64-bit
operating system and fervent prayer that you can
somehow get your software working on it. :-)
Cheers,
David
--
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.")
|
|
|