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

From: JIRA (Øyvind)
Date: Mon Jun 23 2008 - 06:03:52 EDT

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

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



    This archive was generated by hypermail 2.0.0 : Mon Jun 23 2008 - 06:04:44 EDT