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

Home » Public Forums » archive » Re: Is there any progress about memory management in IDL?
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: Is there any progress about memory management in IDL? [message #66405] Tue, 12 May 2009 15:02
pgrigis is currently offline  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 Go to previous message
R.Bauer is currently offline  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 Go to previous message
R.G. Stockwell is currently offline  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 Go to previous message
Jean H. is currently offline  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 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: programming with widgets
Next Topic: labelling of similar pixels (Connected Component Labeling) ?

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

Current Time: Wed Oct 08 13:39:56 PDT 2025

Total time taken to generate the page: 0.00604 seconds