|
Re: Problem with performance when loading big models [message #508659 is a reply to message #508652] |
Tue, 19 January 2010 13:36 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Manfred,
Comments below.
lehman@aquintos.com wrote:
> Hello,
>
> i try to load a rather big XML model (the file has 130MB) and it takes
> more than 8 hours to load the model. Is there some way to improve the
> loading of the model?
> I use the following load options:
> XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE
> XMLResource.OPTION_USE_LEXICAL_HANDLER,Boolean.TRUEXMLResour
> ce.OPTION_DEFER_IDREF_RESOLUTION, Boolean.TRUE
> XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE
>
> I already tried the options mentioned in
> http://www.eclipse.org/modeling/emf/docs/performance/EMFPerf ormanceTips.html
> with little or no changes in loading time.
> Any tipps for performance improvements would be greatly appreciated.
Some analysis of where the time is being spent might help too.
ResourceImpl.setIntrinsicIDToEObjectMap might help if intrinsic ID
lookup is the bottleneck.
>
> Regards,
>
> Manfred
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03499 seconds