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

Home » Public Forums » archive » Re: Clear everything in IDL?
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: Clear everything in IDL? [message #9948 is a reply to message #9946] Tue, 23 September 1997 00:00 Go to previous messageGo to previous message
gurman is currently offline  gurman
Messages: 82
Registered: August 1992
Member
In article <34272161.238A9AC2@pitt.edu>, sheats@lanl.gov wrote:

> Clemens v. Mann wrote:
>>
>> Hi
>>
>> the memory will be freed when you assign a new value.
>> This makes only sense when the new value is very smaller.
>>
>> Example :
>> hugeArr = bindgen( 1000,1000)
>>
>> hugeArr = 0
>>
>> cvm
>
>
> I've tried this.. unfortunately ( In windows NT anyway.. I haven't
> tried else where ) It does not seem to actually release the memory as
> such.
>
> Internal to IDL, it may mark that region of memory as freed, but
> Windows never receives that memory back until IDL is closed. It would
> also appear that any additional memory allocated doesn't utilize this
> memory which idl has already allocated, but instead pulls more off of
> NT's heap.
>
> It creates a pretty big problem for some programs I'm working on.
>
> Maybe I'm doing something wrong.

Matthew -

Have you tried

IDL> help, /mem
IDL> tempArr = temporary(hugeArr)
IDL> help, /mem

?

--
To get random signatures put text files into a folder called �Random Signatures� into your Preferences folder.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ENVI useful functions
Next Topic: Postscript output using ARROW

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

Current Time: Wed Oct 08 13:33:54 PDT 2025

Total time taken to generate the page: 0.00389 seconds