Model serialization is very slow [message #986393] |
Tue, 20 November 2012 10:22 |
Charles Bonneau Messages: 32 Registered: February 2010 Location: Belgium |
Member |
|
|
Hello,
I have a problem with the serialization of a EMF model using a XtextResource.
I have generated a Xtext project from an Ecore file.
I have an instance model of 233 objects, which is not that big (imho).
But when I try to serialize it using the XtextResource, I have the impression that the process is stuck in an infinite loop, or at least it is very slow: ~15 minutes
I've paused the process and it seems to be looping in the method
public abstract class AbstractParseTreeConstructor implements IParseTreeConstructor {
[...]
protected AbstractToken serialize(EObject object, AbstractToken currentToken, TreeConstructionReportImpl rep){
[...]
}
}
I have no idea on how to debug it and improve the serialization process.
I could use a little help here.
In advance, thank you for your comments/remarks.
Best regards,
Charles
[Updated on: Tue, 20 November 2012 10:59] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02903 seconds