Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Problem with performance when loading big models
Problem with performance when loading big models [message #508652] Tue, 19 January 2010 17:51
No real name is currently offline No real nameFriend
Messages: 15
Registered: July 2009
Junior Member
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 17:53]

Report message to a moderator

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


Current Time: Fri Apr 26 01:19:55 GMT 2024

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

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

Back to the top