I tried with
ObjectStore.startTrackingNewObjects()/unregisterNewObjects() but does
not work, I supposed it is because the new objects remain referenced by
the common objects that they have relationships with.
What I am doing finally, is to create periodically a disposable
DataContext and copy to it the common objects from the original
DataContext with DataContext.localObjects(). I suppose it is quite
inefficient but reliable.
Thanks,
Oscar
> You may use
> ObjectStore.startTrackingNewObjects()/unregisterNewObjects(). This
> should clean the ObjectStore and release memory. In the past I may
> have complained about this solution as lacking the architectural
> purity, but it works - that's what matters :-)
>
> Andrus
This archive was generated by hypermail 2.0.0 : Tue Jan 03 2006 - 04:51:24 EST