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

Home » Public Forums » archive » Re: 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: Large Arrays in IDL [message #5541 is a reply to message #5539] Sat, 13 January 1996 00:00 Go to previous messageGo to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
szoonem@astro.sunysb.edu (Saeid Zoonematkermani) writes:

> Hi;

> This is a question that concerns astronomers once in a while. I have
> wondered what the limit is to the size of the arrays that IDL can create.
> Some times IDL fails to read a FITS image complaining:

> % Unable to allocate memory: to make array.
> not enough core

> This is not so uncommon if one has to deal with even moderate size cubes.
> I have tried to use .SIZE to increase the default value for data area but
> it doesn't seem to work. So the question is if there is a way to open a
> very large image by IDL. IRAF seems to have no problem with this. Does
> this problem arise from lack of RAM on the computer?

The .SIZE command doesn't have anything to do with the size of arrays that you
can handle in IDL. It's more related to how many variables (regardless of
size) that you have, and how many routines you have.

The size of arrays is controlled by how much RAM you have. On VMS computers,
it's also controlled by various system and process quotas--talk to your system
manager. If you can't allocate space for arrays, try deleting any arrays you
may already have in memory.

Another reason why you may be having trouble allocating array space is because
of memory fragmentation. For more information, read the FAQ.

As I understand it, IRAF avoids this problem by doing everything on disk. That
way, it only needs to have enough memory for one array at a time.

William Thompson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL and PV-WAVE?
Next Topic: Re: Using GNU gcc to compile for CALL_EXTERNAL

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

Current Time: Sun Nov 30 01:45:55 PST 2025

Total time taken to generate the page: 0.16645 seconds