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

Home » Public Forums » archive » Garbage collection and Memory
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: Garbage collection and Memory [message #2173 is a reply to message #2105] Fri, 03 June 1994 06:58 Go to previous messageGo to previous message
hevans[2] is currently offline  hevans[2]
Messages: 5
Registered: June 1994
Junior Member
In article <gumley-020694132201@macfeng.gsfc.nasa.gov>, gumley@climate.gsfc.nasa.gov (Liam E. Gumley) writes:

|>In article <1994Jun2.155555@estwm0.wm.estec.esa.nl>,
|>hevans@estwm0.wm.estec.esa.nl (Hugh Evans) wrote:
|>
|>> I am using PV~Wave v4.01 (VAX/VMS) and after loading in large data sets and
|>> manipulating them, PV~Wave runs out of memory (core). This is despite creating
|>> more variables.
|>>
|>> The question I have is: Is there any command that invokes a garbage collector
|>> to clean up the memory used? Or do I just have to save the session, exit and
|>> restart the session?
|>
|>If you have a large variable array which is longer needed, just redefine it
|>as a single value variable, e.g.
|>
|>array = fltarr(10000,10000)
|>(processing steps)
|>array = 0
|>
|>See page 12-7 of the IDL User's Guide (v3.5).
|>

Perhaps I phrased my question badly.

I have discovered that after using Wave for an extended period that it slowly
grabs more and more memory, even if new variables are not created, until
finally it runs out of core memory. Whereas by saving the session and
restarting it, the previous operation that crashed on a memory allocation
problem will complete successfully.

This, by the way, is being done on VAX/VMS.

--
Hugh Evans
European Space Research and Technology Centre - Noorwijk, Netherlands
Internet: hevans@wm.estec.esa.nl SPAN: ESTWM2::hevans

It's a nice touch, when you're a houseguest, to make your bed.
It's a particularly nice touch to make it a place of delight
for your host's teen-age daughters.
P.J. O'Rourke - Modern Manners
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mouse with Xmanager registers too fast
Next Topic: Re: image data extraction

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

Current Time: Fri Nov 28 21:26:32 PST 2025

Total time taken to generate the page: 0.40159 seconds