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

Home » Public Forums » archive » Re: memory problems on Win2000 or how to delete a variable
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: memory problems on Win2000 or how to delete a variable [message #30313] Wed, 17 April 2002 03:34
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dominik Paul wrote:
>
> Hi NG
>
> for performance tests, we want to run a programm, which is creating a lot of
> big arrays. But after some runs, IDL cant allocate any memory any more.
> Can somebody give me a hint, how to delete a variable?
>
> Thanks
> Dom

Dear Dom,

for example

arr=double(2000,2000)

arr=temporary(arr)+1 will not duplicate arr by adding 1

if you do
b=temporara(arr)

arr is undefined and b is the double array

b=0b

deletes the type and dimension of b and it is only
1 byte long.

Reimar



--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml
============================================================ =======
[Message index]
 
Read Message
Previous Topic: memory problems on Win2000 or how to delete a variable
Next Topic: Obtaining exponent from a scientific format number

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

Current Time: Wed Oct 08 18:16:04 PDT 2025

Total time taken to generate the page: 0.00416 seconds