Hi Christof,

No Transaction.

All objects being created are LOCAL and specifically set to .NULL.
Only one is being added to a form property, and set back to .NULL. at the
end of the creating method. It is used by 2 called methods.

Wrote a piece of code that added a log in the init and destroy of all
objects in the form. It created 2 log files which when imported and checked
492 objects logged sys(1272,THIS), created and destroyed.

Tracy

> -----Original Message-----
> From: Christof Wollenhaupt
> Sent: Monday, December 04, 2006 6:22 PM
>
> Hi Tracy,
>
> A data session might also stay open if you've started a
> transaction in that data session.
>
> Are you adding objects to _SCREEN or are you creating global
> objects anywhere else than in the main program? If you create
> those objects in a private datasession, the datasession stays
> alive until you release those global objects. That's
> frequently the case if you program defensive and create
> objects dynamically if they don't exist.
>
> If that doesn't help, log all Init and Destroy events into a
> text file or a table. If an object remains in memory, you
> will see the Init event but not the Destroy event. Base.prg
> in the conference download contains a sample implementation
> of this logging mechanism.
>
> --
> Christof




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to