You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2010/10/04 19:31:35 UTC

[jira] Closed: (CAY-1488) OutOfMemory when selecting "Remove Foreign Keys Mapped as Object Attributes"

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

Andrus Adamchik closed CAY-1488.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1M1
                   3.0.2

Andrei, the patch seems to be reverted, so I applied it with git apply -R to 3.0 and 3.1 branches. Thanks for the patch!

> OutOfMemory when selecting "Remove Foreign Keys Mapped as Object Attributes"
> ----------------------------------------------------------------------------
>
>                 Key: CAY-1488
>                 URL: https://issues.apache.org/jira/browse/CAY-1488
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 3.0.1
>         Environment: MacOSX 10.6.3 / Java 1.6.0_17
>            Reporter: Marc Guenther
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 3.0.2, 3.1M1
>
>         Attachments: CAY-1488.patch
>
>
> I just added a relationship in a DBEntity, and click on the "Sync dependant ObjEntities". I then get a panel with a checkbox:
>   Remove Foreign Keys Mapped as Object Attributes
> When I leave the option selected, and press OK, the Modeler crashes immediately with OutOfMemoryError. When I deselect the option, it succeeds, and I have to remove the attribute by hand.
> I run the modeler via:
>   mvn cayenne-modeler:run
> Increasing the memory didn't help:
>   MAVEN_OPTS="-Xmx512m"  mvn cayenne-modeler:run
> It still crashes, but not it takes 10sec to do so.
> This happened quite reliably on two different occasions with my model.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.