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

Home » Public Forums » archive » memory leakage
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
memory leakage [message #30932] Sat, 25 May 2002 12:18
lyubo is currently offline  lyubo
Messages: 34
Registered: March 2002
Member
Hello,

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?

Thank you.

Lyubo
[Message index]
 
Read Message
Previous Topic: Re: a question about ENVI menu and source file
Next Topic: Memory Leakage......(I think)

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

Current Time: Thu Oct 09 14:14:47 PDT 2025

Total time taken to generate the page: 0.79948 seconds