You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Marc Guenther (JIRA)" <ji...@apache.org> on 2010/10/01 14:01:54 UTC
[jira] Created: (CAY-1488) OutOfMemory when selecting "Remove
Foreign Keys Mapped as Object Attributes"
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
Priority: Minor
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.
[jira] Closed: (CAY-1488) OutOfMemory when selecting "Remove
Foreign Keys Mapped as Object Attributes"
Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (CAY-1488) OutOfMemory when selecting "Remove
Foreign Keys Mapped as Object Attributes"
Posted by "Andrus Adamchik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAY-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik reassigned CAY-1488:
------------------------------------
Assignee: Andrus Adamchik
Looks very much like this: http://markmail.org/thread/g6yjhuqrseiayaae
will need to investigate
> 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
>
> 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.
[jira] Updated: (CAY-1488) OutOfMemory when selecting "Remove
Foreign Keys Mapped as Object Attributes"
Posted by "Andrei Veprev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAY-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: 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
> 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.