[ 
https://issues.apache.org/cayenne/browse/CAY-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971#action_12971
 ] 

Øyvind Harboe commented on CAY-1078:
------------------------------------

If I commit between each delete, then I don't run out of memory. That's slow 
though.

> 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
>
> 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.

Reply via email to