Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » performance problems
performance problems [message #613567] Wed, 26 July 2006 07:28
Eclipse UserFriend
Originally posted by: johannes.testori.shark-soft.com

hi all,
we have created our own layout and use our own subclasses of JFrame,
JTextField, ... We have migrated a couple of guis from another
programming language to java so that the guis can be modified with the
VE.
we have some large guis with 200+ elements and have the following
problems:

1. opening such a large guis can take a couple of minutes on an AMD 64 X2
Dual Core with 2,5 GHz and 2 GB RAM.

2. if we modify the source-code instead of using the properties view
(sometimes this is necessary) the reverse parser's progress bar stops
always at the same percentage and the same message (snippet update: xxx),
where the displayed element is always the same one no matter which
element has been changed. than the reverse parser needs some time to
finish (the progress bar doesn't change until it's finished). if we don't
wait for the reverse parser to finish and continue working on the gui, a
lot of reverse parsers appear in the progress bar until nothing can be
done anymore and eclipse has to be killed via the task manager (and
eclipse needs up to 25 minutes ro restart!)

3. for some gui-elements, the reverse parse sometimes needs up to 10
minutes to finish, although the gui-elements are not different to other
ones that work fine.

the problems occurs with eclipse 3.1 and VE 1.1 and also with Eclipse 3.2
(Callisto).

kind regards,
hannes

p.s.: today i found a message in the error log, don't know if it's
related to the problem:
java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate
(EStructuralFeatureImpl.java:771)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate
(BasicEObjectImpl.java:1114)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet
(BasicEObjectImpl.java:832)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet
(BasicEObjectImpl.java:817)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures
(XMLSaveImpl.java:1103)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID
(XMLSaveImpl.java:2458)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement
(XMLSaveImpl.java:1032)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement
(XMLSaveImpl.java:918)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedSing le
(XMLSaveImpl.java:2165)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures
(XMLSaveImpl.java:1380)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID
(XMLSaveImpl.java:2458)
at org.eclipse.emf.ecore.xmi.impl.XMISaveImpl.writeTopObjects
(XMISaveImpl.java:86)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse
(XMLSaveImpl.java:553)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl. java:233)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave
(XMLResourceImpl.java:203)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save
(ResourceImpl.java:988)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save
(ResourceImpl.java:876)
at
org.eclipse.ve.internal.java.codegen.util.VEModelCacheUtilit y.doSaveCache
(VEModelCacheUtility.java:158)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.primDoSave
(JavaSourceTranslator.java:1397)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.access
$0(JavaSourceTranslator.java:1394)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or$4.doRun
(JavaSourceTranslator.java:1418)
at org.eclipse.ve.internal.java.codegen.util.ReverseParserJob.r un
(ReverseParserJob.java:56)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Previous Topic:performance problems
Next Topic:Remote VM terminated before - Eclipse 3.2 VE
Goto Forum:
  


Current Time: Fri Sep 20 14:37:16 GMT 2024

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

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

Back to the top