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

Home » Public Forums » archive » IDL new graphics memory leak?
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 new graphics memory leak? [message #93718 is a reply to message #93717] Wed, 05 October 2016 06:51 Go to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
> On 10/04/2016 02:39 PM, Helder wrote:
>> Did you try img.close instead of obj_destroy? Did this give the same result?
>> Also, if I do a lot of images, I would change the loop to something like this:
>>

This is exactly the problem. A MWE shows it explicitly:

help, /heap, /brief ;to start

img = IMAGE(/test)
img.close
help, /heap, /brief ;anything on the heap?

img = IMAGE(/test)
OBJ_DESTROY, img
help, /heap, /brief ;Oops!

Further, the setData method Helder suggested will be very handy as well!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: display GeoTIFF image automatically using cgGeoMap
Next Topic: trying to convert map to graphic functions

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

Current Time: Wed Oct 08 17:51:27 PDT 2025

Total time taken to generate the page: 0.00221 seconds