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

Home » Public Forums » archive » Re: reading large files
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: reading large files [message #65968 is a reply to message #65967] Sun, 29 March 2009 16:50 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"David Fanning" <news@dfanning.com> wrote in message
news:MPG.2439b4e5d9afd00c98a681@news.giganews.com...
> R.G. Stockwell writes:
>
>> i have data from matlab that I converted to binary files,
>> and I am trying to read into IDL for further processing.
>>
>> I can allocate the arrays:
>>
>> tlen = 274L
>> ntracks = 253574L
>> ; allocate arrays
>> u = dblarr(tlen,ntracks)
>>
>>
>> but I cannot read the file. Here is the error message:
>> Insufficient system resources exist to complete the requested service.
>>
>> I'm using version 6.3 on windows, is this something that is
>> fixed in IDL 7?
>
> I have no trouble executing those commands on my 32-bit
> Windows XP OS in either IDL 6.4 or 7.0.3. But I've seen that
> insufficient system resources message before. Have you
> had an opportunity to restart Windows lately? I wouldn't
> be surprised if a Windows reboot helped in this case.

Good idea, i'll give it a shot, but I should point out
that I see the error on my laptop, and on my desktop
(both 32 bit windows machines, one is IDL 6.3 the other IDL 6.3,
i haven't tried it in IDL 7 yet).
Very curious.

It seems odd that the array can get allocated. But the read command
is what fails. The file is 555,834,208 bytes which doesn't seem
too big.

cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: reading large files
Next Topic: 3D objects & SET_MAP

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

Current Time: Wed Oct 08 17:28:00 PDT 2025

Total time taken to generate the page: 0.15634 seconds