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

Home » Public Forums » archive » Memory Leakage......(I think)
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 leakage [message #30931 is a reply to message #30496] Sun, 26 May 2002 17:53 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Lyubo (lzagorch@cs.wright.edu) writes:

> I have an object which has an update method. It changes the texture
> of a 3D plane. Every time after I call the following update method:
> ;----------------------------------------------------------- ------
> PRO myobj::update, image, value
>
> temp = SIZE(image)
> width = temp[1]
> height = temp[2]
>
> ; update image object used as texture
> self.oImage->SetProperty, DATA=image
>
> END
> ;----------------------------------------------------------- -------
>
> there is memory leakage. I tried using:
> self.oImage->SetProperty, DATA=image, NO_COPY=1
> but it didn't help.
>
> I am sure that "self.oImage->SetProperty, DATA=image" is
> causing the problem because when I comment it there isn't any
> memory leakage.
>
> Do you know exactly what is going on and how can I fix it?

I've confirmed that changing the image data in IDL 5.4
and IDL 5.5 in Windows, at least, using the above commands
does NOT cause memory leakage. I don't know what could be
going on here.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: memory leakage
Next Topic: Re: IDL 5.5 "% Temporary variables" messages

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

Current Time: Fri Oct 10 18:05:57 PDT 2025

Total time taken to generate the page: 0.79862 seconds