| OCLinEcore : PermGen space error [message #989292] |
Wed, 05 December 2012 09:50  |
Dan Simkins Messages: 36 Registered: December 2012 |
Member |
|
|
Hi,
I have created a very simple ecore model (see below) to which I have added a constraint using OCLinEcore.
package ControlModel : control = '<URI>'
{
class Node
{
attribute Description : String[?] = '' { ordered };
invariant DescCheck: Description <> null and Description.size() > 5;
}
}
If I create a dynamic instance of 'Node', all is well and the validation will correctly report null or Description <= 5.
If I create a generator model, generate all code and run the resultant editor (as an eclipse application), on attempting to validate, I receive the following error, and the validation hangs:
Exception in thread "ModalContext" java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
......
I am using Eclipse Juno SR1 on Windows 7 64 bit.
Any pointers would be really appreciated.
Regards
Dan
|
|
|