Details
Description
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.