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

Home » Public Forums » archive » Re: Object Madness or Restoring Nightmares
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: Object Madness or Restoring Nightmares [message #38364 is a reply to message #38359] Tue, 02 March 2004 17:36 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"David Fanning" wrote ...
> David Fanning writes:
>
>> I've proved that it is not the save/restore cycle that is
>> doing this, because if the study contains just non-objects,
>> say images, then there is no memory leakage. Only when the
>> study contains objects do I leak.
>
> Oh, my goodness, I love programming! You don't even have
> to solve the problems. They solve themselves if you can
> just bring yourself to face abject humiliation and
> write about them.
>
> After writing my last missive, I got a cup of tea
> (a technique I learned from an Englishman) and sat
> down to try again. The problem had disappeared!!

Could you maybe speculate as to what was/is happening?

I was writing a response to the effect that I have seen this before too when
saving and instance of IDLgrModel which contains IDLgrGraphic atoms. When I
destroyed the model, (some of? all of? can't remember) the atoms were left
strewn about.

My "fix" was to extract the atoms and then save them. When restoring I add
them to a fresh instance of IDLgrModel.

I am curious as to why this is...

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Wired volume?
Next Topic: Re: HDF5 and IDL

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

Current Time: Sun Oct 12 06:04:33 PDT 2025

Total time taken to generate the page: 1.20048 seconds