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

Home » Public Forums » archive » Memory question by a newbie
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Memory question by a newbie [message #31570] Fri, 02 August 2002 13:54 Go to previous message
patt is currently offline  patt
Messages: 1
Registered: August 2002
Junior Member
I am a newbie to IDL and am hoping for some advice on memory issues.
My programm reads 10 files and places the information (floating point)
into 10 different 2D arrays. The arrays are about 5000 columns by
6000 rows. Each array is subject to simple mathematical manipulation
that results in a new 2D array. So, I read 10 files and create 10 2D
arrays. These 10 arrays are intermediate arrays that are used to
create a final 2D array. Well, you can probably figure out that I ran
out of memory. I read up on memory problems with IDL and it seems
like this is the way life is in IDL. The way I solved the memory
problem was to break up the files into sections and work with those
sections, then read the file again only moving the file pointer to the
end of previous section. I used the update parameter of the read
function to create the final array, so each section is added to the
final array file. I am wondering if there is a better work around? I
found the IDL_MAKETEMPARRAY function but I don't understand what it
does and am not sure if that is the answer. Any other ideas? Pat
[Message index]
 
Read Message
Read Message
Previous Topic: Memory Headaches
Next Topic: medical simulation software written in IDL (urgently)...

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

Current Time: Sun Oct 12 11:14:23 PDT 2025

Total time taken to generate the page: 1.91989 seconds