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

Home » Public Forums » archive » Handling large arrays 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: Handling large arrays in IDL [message #59215 is a reply to message #59169] Thu, 06 March 2008 07:16 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
vijayc...@gmail.com wrote:
> Hello,
>
> I need some tips about handling large arrays in IDL. The size of the
> arrays is around (100000 x 100000) and the general error messages are
> " array contains too many elements" or "cannot allocate memory".

These are two different situations:
The "array contains too many elements" happens when the total
size in bytes of the array (that is, the number of elements multiplied
by the size in bytes of one element) is larger than 2^31 in 32-bit IDL
(no matter what your memory size is!)
As far as I know, the only workaround for this is to use 64-bit IDL.

Regarding the second error message, the way to increase the
memory that can be allocated depends on your OS.

Ciao,
Paolo

One
> way to get around the problem is to create many smaller arrays but I
> would like to keep this option as the last one. The RAM size of the
> server is 8GB, probably it is maximum that can fit into the machine. I
> would be grateful to have suggestions from you.
>
> Thank you.
>
> Regards,
> Vijay
[Message index]
 
Read Message
Read Message
Previous Topic: Calibration and Georeferencing MASTER data
Next Topic: Re: Handling large arrays in IDL

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

Current Time: Sun Nov 30 15:23:24 PST 2025

Total time taken to generate the page: 0.00231 seconds