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 
Return to the default flat view Create a new topic Submit Reply
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 messageGo 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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
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 19:28:07 PDT 2025

Total time taken to generate the page: 0.00443 seconds