Re: AW: Out of memory exception when creating a large number of objects

From: Jean-Paul Le Fèvre (jean-paul.lefevr..ea.fr)
Date: Mon Jul 23 2007 - 10:05:20 EDT

  • Next message: Andrus Adamchik: "Re: Out of memory exception when creating a large number of objects"

    On Monday 23 July 2007 15:53, Peter Schröder wrote:
    > i think that this is a dataContext-issue. every commited object stays in
    > the context, so you probably should create a new dataContext at some point.

    Sure ! but is it a bug or a feature ?

    The following methods :
    ctxt.getObjectStore().unregisterNewObjects();
    ctxt.getObjectStore().startTrackingNewObjects();
    are meant to avoid the problem but it turns out that they likely forget
    references in some unknown places.

    -- 
    ___________________________________________________________________
    

    Jean-Paul Le Fèvre * Mail : LeFevr..onteny.org



    This archive was generated by hypermail 2.0.0 : Mon Jul 23 2007 - 10:05:46 EDT