[jira] Updated: (CAY-1078) Deleting big CayenneDataObject's causes out of memory exception

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Mon Jun 23 2008 - 07:47:52 EDT

  • Next message: JIRA: "[jira] Commented: (CAY-1079) Derby adapter uses recursive implementation for orExp()"

         [ https://issues.apache.org/cayenne/browse/CAY-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    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