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

Home » Public Forums » archive » Reading large files with restore
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 with restore [message #85943 is a reply to message #85942] Fri, 20 September 2013 08:25 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ljs15@fsmail.net writes:

> I have a script (which I didn't write) which loops through different months and reads in atmospheric variables from .sav files, with a different file for each month. These files contain lots of data, and hence are around 200-500 MB in size.
>
> When I run the script it takes a long time to restore the data on each loop (obviously!), but it makes my entire computer go slow, and on occasion it completely freezes and I have no choice but to actually turn the computer off and on again.
>
> I am assuming this is a memory issue, and was wondering if anyone knew a way around these problems (re-writing the script and save files isn't really an option I want to consider). Is there perhaps some way of 'de-allocating' the memory after the completion of each loop?

Wait, you have a program that does something crazy, but you don't want
to change it? Do I have that right? I would say off-hand that this
hampers our ability to provide a solution. (Even prayer is unlikely to
work in this situation.)

Is this "script" a main-level program by any chance?

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: logical_true vs nothing in an if statment
Next Topic: Reading part of a netcdf file?

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

Current Time: Fri Oct 10 18:37:58 PDT 2025

Total time taken to generate the page: 1.12058 seconds