|
Re: Xtext project from existing ecore models [message #1097257 is a reply to message #1097077] |
Thu, 29 August 2013 12:56 |
Jan Koehnlein Messages: 760 Registered: July 2009 Location: Hamburg |
Senior Member |
|
|
Which version of Xtext are you using? The ParsetreeConstructorFragment
has been deprecated looong ago in favor of the SerilaizerFragment.
Please upgrade and try the latter instead.
Am 29.08.13 09:46, schrieb Mathias Weber:
> Hi,
>
> I have an metamodel extending the UML.
> The genmodel has the metamodel as its root package and the genmodels of UML, Types and Ecore referenced.
>
> I now want to create an "Xtext project from existing ecore models" selecting the new genmodel. The build of the folders works fine.
>
> But when I want to create the Xtext artifacts, I get confronted with GCOverhead and Java Heap Space errors. I tried to avoid them by starting the .mwe2 with the following VM args:
> -Xms1024m
> -Xmx2048m
> -XX:MaxPermSize=512M
> -XX:-UseGCOverheadLimit
>
> The result was that the GCOverhead errors vanished and the execution time was longer. But the Heap Space errors still resist.
>
> I have a machine with 4GB of RAM. After the start of Eclipse 2,2 GB are in use. When starting the .mwe2 the use raises up to 3,5 GB (which is about 90% of the total RAM).
>
> My question is:
> Could it be that I just have to less RAM for the generation of the Xtext artifacts?
> Or are there other mistakes or things to adapt to get it working?
>
> Find the error-protocol attached
>
>
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
---
Get professional support from the Xtext committers at www.typefox.io
|
|
|
Powered by
FUDForum. Page generated in 0.02776 seconds