Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: Handling la...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 5514 of 6454
Post > Topic >>

Re: Handling large arrays in IDL

by pgrigis@[EMAIL PROTECTED] Mar 6, 2008 at 07:16 AM

vijayc...@[EMAIL PROTECTED]
 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
 




 2 Posts in Topic:
Handling large arrays in IDL
vijayck07@[EMAIL PROTECTE  2008-03-06 04:44:07 
Re: Handling large arrays in IDL
pgrigis@[EMAIL PROTECTED]  2008-03-06 07:16:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 14:07:24 CST 2008.