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

Home » Public Forums » archive » Re: Array has too many elements?
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: Array has too many elements? [message #37504 is a reply to message #37503] Fri, 19 December 2003 08:32 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
According to the "What's New In IDL 5.4" manual, RSI added large file (
> 2.1GB ) support for Windows. Apparently, you can use the 64-bit
integer data type to read and write data from files. However, there
aren't any examples and I've never tried it myself since I avoid Windows
like the plague.

HTH,

Mike W

Jamie wrote:
> Take a look at the idl/external/export.h file that came with IDL as this
> defines most of the limits. You, of course, cannot change them but it is
> helpful to know what they are. In particular, getting beyond the 32-bit
> address limit is problematic and very OS dependent. Unless I missed
> something in version 6, IDL is still compiled as a 32-bit application.
>
> See:
> http://www.rsinc.com/services/techtip.asp?ttid=2597
> http://www.rsinc.com/services/techtip.asp?ttid=3617
>
> Or do a search for 'memory' in:
> http://www.rsinc.com/services/search.asp
>
> Jamie
>
> On Fri, 19 Dec 2003, Jonathan Greenberg wrote:
>
>
>> Followup question -- I've now come across a lot of discussion about windows
>> boxes and memory problems under IDL (David Fanning, thats a terrific website
>> you have (http://www.dfanning.com/)-- wish I had found it a few weeks ago!).
>> Do these problems simply not exist on UNIX boxes (given ample amount of RAM
>> + pagefile space)? I reprogrammed a slow but memory conservative version of
>> this algorithm I'm working on using a bunch of for-next loops -- after all
>> the discussion I've been seeing about how for-next loops stink, I recoded
>> the algorithm using mostly matrix calls -- but of course I need more memory
>> to do these, hence the array has too many elements error. I'm tempted to
>> switch over to a slower UNIX box if this memory problem won't show up...
>> thoughts?
>>
>> --j
>>
>> "Jonathan Greenberg" <greenberg@ucdavis.edu> wrote in message
>> news:amyEb.209$rX6.10@newssvr29.news.prodigy.com...
>>
>>> Is there some intrinsic limitation in how big an array can get in IDL?
>>
>> The
>>
>>> one in question was a fltarr of 170 x ~ 4,000,000 which gave me the "Array
>>> has too many elements." error. I have about 2gb of memory on my machine,
>>> and a 2 gb pagefile. Did I simply run out of memory, or is there
>>
>> something
>>
>>> else going on here?
>>>
>>> --j
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Tree widget woes
Next Topic: Position of Y axis title

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

Current Time: Sat Oct 11 01:00:11 PDT 2025

Total time taken to generate the page: 1.59945 seconds