cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Veprev (JIRA)" <>
Subject [jira] Updated: (CAY-1488) OutOfMemory when selecting "Remove Foreign Keys Mapped as Object Attributes"
Date Mon, 04 Oct 2010 08:43:35 GMT


Andrei Veprev updated CAY-1488:

    Attachment: CAY-1488.patch

I was able to reproduce this bug with mapping from Tomas's mail.
Here is patch.

> OutOfMemory when selecting "Remove Foreign Keys Mapped as Object Attributes"
> ----------------------------------------------------------------------------
>                 Key: CAY-1488
>                 URL:
>             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
>         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.

View raw message