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

Home » Public Forums » archive » Re: How do I free 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: How do I free memory? [message #2472 is a reply to message #2470] Tue, 12 July 1994 15:20 Go to previous message
geomagic is currently offline  geomagic
Messages: 22
Registered: November 1993
Junior Member
In article <1994Jul12.152415.23858@noao.edu> eharold@corona.sunspot.noao.edu (Elliotte Harold) writes:

> Here's the problem in brief.
>
> 1. Start IDl
> 2. a=intarr(320,256,200)
> 3. In another window the Solaris program topx tells me that IDL
> is using about 39 megabytes, approximately correct for the array.

3.b delvar,a

> 4. a=0
> 5. topx still says IDL is using 39 megabytes.
>
> When I free an array how do I get IDL to give up the memory it
> grabbed to get the array in the first place? I think IDL can reuse
> the 39 megabytes if it needs it but I'd like to make that memory available
> to any other process running on my machine, not just IDL.

Delvar deletes variables and deallocates their memory.

Dan O'Connell
geomagic@seismo.do.usbr.gov
Seismotectonics Group, U.S. Bureau of Reclamation
Denver Federal Center, P.O. Box 25007 D-3611, Denver, CO 80225
"We do custom earthquakes (for food)"
or
"Just more roadkill on the information superhighway"

/\
/ \
/ \ /\ /\
/\ / \ / \ / \ /\ /\/\ /\/\
___/ \ /\/\/\/ \ / \ /\ / \ / \/ \/ \ /\_______
\/ \ / \ / \/ \/ \/
\/ \/

--
Dan O'Connell
geomagic@seismo.do.usbr.gov
Seismotectonics Group, U.S. Bureau of Reclamation
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Language Documentation;
Next Topic: INVISIBLE WIDGETS

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

Current Time: Mon Oct 13 20:43:08 PDT 2025

Total time taken to generate the page: 0.53933 seconds