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

Home » Public Forums » archive » Re: Q: Efficient Memory handling and deallocation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Q: Efficient Memory handling and deallocation [message #4103] Thu, 04 May 1995 00:00
rutledge is currently offline  rutledge
Messages: 4
Registered: May 1995
Junior Member
In article <3oaptn$oee@news.doit.wisc.edu>, Paul Probert <probert@uwmfe.neep.wisc.edu> writes:


> operating system's fault. But we figured out, as you did, that IDL
> doesn't deallocate the memory. One workaround is, at the beginning of
> your program, create and then immediately delete an array 2 or 3 times
> the size of your needs, and this will leave a hole big enough for many
> future reallocations.


Excuse my ignorance, and this is probably stating the obvious, but this
makes it appear that IDL keeps the heap memory allocated and cannot free
it up (until exiting). When I run my programs, that indeed seems to be the
case -- I can allocate my 200M worth of variables, deallocate them, and
IDL keeps the heap a monstrous size. This is silly (and wasteful of my
computer resources) as I don't use 200M for more than 5 sec, and there
are other applications on my computer which could use that.

Is there really no way to de-allocate the heaped IDL memory? I may
have to quit using it and go back to C and X, where I have some measure of
control.

Bob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Possible crippling bug in NR_(SIMP,ROMB)
Next Topic: Idl Compiler?

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

Current Time: Wed Oct 08 17:38:00 PDT 2025

Total time taken to generate the page: 0.00504 seconds