Andrus Adamchik updated CAY-1078:
---------------------------------
Yes, untill commit, "deleted" object is officially being edited, so the reference to it has to be preserved.
> Deleting big CayenneDataObject's causes out of memory exception
> ---------------------------------------------------------------
>
> Key: CAY-1078
> URL: https://issues.apache.org/cayenne/browse/CAY-1078
> Project: Cayenne
> Issue Type: Bug
> Components: Cayenne Core Library
> Affects Versions: 3.0
> Reporter: Øyvind Harboe
> Assignee: Andrus Adamchik
> Fix For: 3.0
>
>
> 1. create a table with large records
> 2. create enough records that they no longer fit in memory
> 3. use ctxt.deleteObject() to mark all objects for deletion
> =>
> Out of memory exception
> I'm was working on IncrementalFaultList support for weakly referenced pages while I saw this problem. I need more evidence and testcode, but just making a not of this problem for now.
-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
This archive was generated by hypermail 2.0.0 : Mon Jun 23 2008 - 07:48:44 EDT