Re: memory problems on Win2000 or how to delete a variable [message #30313] |
Wed, 17 April 2002 03:34 |
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
============================================================ =======
|
|
|