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 #2289 is a reply to message #2195] Fri, 03 June 1994 02:59 Go to previous messageGo to previous message
pjclinch is currently offline  pjclinch
Messages: 27
Registered: May 1993
Junior Member
Liam E. Gumley (gumley@climate.gsfc.nasa.gov) wrote:
: In article <1994Jun2.155555@estwm0.wm.estec.esa.nl>,
: hevans@estwm0.wm.estec.esa.nl (Hugh Evans) wrote:

: > 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

Or use the delvar command to trash it completely:
array=fltarr(10000,10000)
(processing steps)
delvar, array

Pete.
--
Peter Clinch University of Dundee
voice 44 382 60111 x 2604 Department of Medical Physics
fax 44 382 640177 Ninewells Hospital
email pjclinch@dux.dundee.ac.uk Dundee, DD1 9SY, Scotland, UK
[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: Sat Nov 29 05:55:42 PST 2025

Total time taken to generate the page: 0.80412 seconds