OCLinEcore : PermGen space error [message #989292] |
Wed, 05 December 2012 09:50  |
Eclipse User |
|
|
|
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
|
|
|
|
Re: OCLinEcore : PermGen space error [message #989338 is a reply to message #989326] |
Wed, 05 December 2012 12:11  |
Eclipse User |
|
|
|
Hi
Well solved. There is at least one Bugzilla open bemoaning the failure
of Eclipse to ship a solution to the JVM inadequacy. Most modeling
projects have this guaranteed failure for new users.
Regards
Ed Willink
On 05/12/2012 16:18, Dan Simkins wrote:
> All,
>
> Problem as PermGen space (I guess the answer was in the error
> message!!). Implemented suggestion as per
> http://www.eclipse.org/forums/index.php/m/898737/
>
> Now validation works as expected.
>
> D
|
|
|
Powered by
FUDForum. Page generated in 0.04230 seconds