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

Home » Public Forums » archive » Re: IDL Memory Leaks
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: IDL Memory Leaks [message #27844 is a reply to message #27671] Tue, 06 November 2001 06:23 Go to previous messageGo to previous message
Stein Vidar Hagfors H[1] is currently offline  Stein Vidar Hagfors H[1]
Messages: 56
Registered: February 2000
Member
Myron Brown <brownmz1@jhuapl.edu> writes:

> David,
>
> Thanks. I am using the TEMPORARY function. I know memory is
> leaking because the Windows task manager indicates that my IDL
> process is consuming more and more memory as time goes on. Of
> course, IDL doesn't realize this (i.e. HELP, /MEMORY indicates no
> increase in memory usage).
>
> Two questions:
>
> 1. How does UNDEFINE differ from setting the variable to zero (a and
> b below)? The result appears to be the same, but is it?

In fact, you're quite correct. The amount of space used to store an
undefined variable is exacly the same as that used to store a scalar
zero..

--
------------------------------------------------------------ --------------
Stein Vidar Hagfors Haugan
ESA SOHO SOC/European Space Agency Science Operations Coordinator for SOHO

NASA Goddard Space Flight Center, Email: shaugan@esa.nascom.nasa.gov
Mail Code 682.3, Bld. 26, Room G-1, Tel.: 1-301-286-9028/240-354-6066
Greenbelt, Maryland 20771, USA. Fax: 1-301-286-0264
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: NETSCAPE BOMB - dont open/preview "Re: my pretty floor won't pour before I expect it"
Next Topic: FFT issues

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

Current Time: Tue Oct 21 09:51:23 PDT 2025

Total time taken to generate the page: 1.67948 seconds