Hi Lutz
>Could you be more precise wath you do to create the leakage?
The application is relatively complex as I said.
I used collections in the way I do in python as general "containers for other kind of objects". As far as I can remember, the very leak was on parts of XML-objects parsed via COM and kept in memory. I kept the recursively described xml objects - of course since this non trivial app cannot do without - but just replaced their storage with an array-based one. When the array is dropped, the objects embedded in these arrays are fully dropped.
Beware of collections in no triival cases. They just do not release the memory. No need to try to associate tentative object dropping code in the destroy event à la myvar = .NULL. It won't work!
Daniel
PS:Tore is correct about the article by the way:) Rick - and Tore - are wonderful resources on VFP (and other things as well of course...)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only