Skip to main content



      Home
Home » Modeling » EMF » Problem with performance when loading big models
Problem with performance when loading big models [message #508652] Tue, 19 January 2010 12:51
Eclipse UserFriend
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
XMLResour ce.OPTION_DEFER_IDREF_RESOLUTION
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.

Regards,

Manfred

[Updated on: Tue, 19 January 2010 12:53] by Moderator

Re: Problem with performance when loading big models [message #508659 is a reply to message #508652] Tue, 19 January 2010 08:36 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:EditingDomain.getRoot(Object)
Next Topic:Programmatically populated dropdown for string attribute?
Goto Forum:
  


Current Time: Sat Jul 05 06:29:16 EDT 2025

Powered by FUDForum. Page generated in 0.03225 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top