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

Home » Public Forums » archive » Re: How to make large array
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: How to make large array [message #24464 is a reply to message #24458] Wed, 28 March 2001 08:31 Go to previous message
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
renjie wrote:

> I tried to make large array, however, in Windows,
> the largest I can made is 256MB, and in Unix is 1 GB,
> it's supposed that the limitation is 2GB, do you have any
> idea about the largest array in IDL?

We habe encountered a problem with IDL and NT, where IDL is only able to
allocate 800 MB of memory in one step, even if it can allocate more
memory afterwards. But 256 MB is much too low, presuming there is enough
physical+virtual memory.

In Unix, I can allocate more than 1 GB:

--> idl
IDL Version 5.2.1 (sunos sparc). (c) 1999, Research Systems, Inc.
Installation number: 80864-0.
Licensed for use by: MPI Forschung

IDL> b=bytarr(1024,1024,1200)
IDL> help, /mem
heap memory used: 1258497902, max: 1258497930, gets: 227,
frees: 89

The limit command tells you about the datasize you are allowed to
allocate, maybe this is set too low for you. And maybe there's a similar
setting for Windows?

Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Truncated save file?
Next Topic: Streamlining

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

Current Time: Fri Oct 10 01:04:12 PDT 2025

Total time taken to generate the page: 0.79745 seconds