| Re: Garbage collection and Memory [message #2289 is a reply to message #2195] |
Fri, 03 June 1994 02:59   |
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
|
|
|
|