Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCLinEcore : PermGen space error (OCLinEcore : PermGen space error)
OCLinEcore : PermGen space error [message #989292] Wed, 05 December 2012 09:50 Go to previous message
Dan Simkins is currently offline 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

 
Read Message
Read Message
Read Message
Previous Topic:how to access to association end in code
Next Topic:OCL parsing without a model?
Goto Forum:
  


Current Time: Sat May 25 04:32:54 EDT 2013

Powered by FUDForum. Page generated in 0.01664 seconds