- This topic has 14 replies, 6 voices, and was last updated 14 years, 5 months ago by
Stephane Godin.
-
AuthorPosts
-
Stephane GodinParticipantI recently upgrade to MyEclipse IDE 8.6 and start getting some serious performance issue. After some investigation, here the step to recreate the issue:
- – Create a MyEclipse Web application + Maven support (Webapps folder set as “war”);
- – Add Google support
- – Add my existing GWT application code (SmartGWT in most of my case) using subversion;
Project is OK and server-side code compile properly. Then, compile the GWT project (using red toolbox icon in toolbar). This will create the GWT javascript app + resources in the “war’ folder… then wait for a minute and you’ll get an error message saying that we are near memory exhaustion and the CPU goes at 100%… Even if I close the project, the CPU stay at 100%. So I need to close MyEclipse, remove the content of GWT app folder and re-open MyEclipse.
I tried to remove all validation for this project without luck. I’ve been able to recreate this on multiple machine. Please let me know what else you need to investigate this bug.
I’m using Pulse to create a new MyEclipse 8.6 profile and only add Subversive and Google GWT plugins. I changed the memory parameters and add “Lombok” eclipse support in “myeclipse.ini” file . This is the same set-up i’m using with other version of MyEclipse for a while now.
Here my installation detail:
*** Date: Thursday, August 19, 2010 3:16:53 o'clock PM EDT ** System properties: OS=WindowsXP OS version=5.2.0 Java version=1.6.0_13 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 8.6 Build id: 8.6-20100806 *** Eclipse details: MyEclipse Enterprise Workbench Version: 8.6 Build id: 8.6-20100806 Eclipse startup command=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\Program Files\Genuitec\Profiles\MyEclipse 8.6\myeclipse.exe -name Myeclipse --launcher.library C:\Program Files\Genuitec\Profiles\MyEclipse 8.6\../../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll -startup C:\Program Files\Genuitec\Profiles\MyEclipse 8.6\../../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -install C:/Program Files/Genuitec/Profiles/MyEclipse 8.6 -configuration configuration -vm C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll ---------------------
thx!
.sg
support-shaliniMemberarchimed,
We are sorry to hear you are running into this issue. Can you give us some more information to investigate this issue further?
1. Can you list out the steps in detail to replicate your issue, right from creating the project. Can you include some screen shots showing the steps?
Also, can you share your project with us? You can send a mail to support@genuitec.com with ATTN:Shalini in the subject and a reference to this thread. This will help us replicate this issue internally.
Rajeshwar KamineniMemberSame issue here… Unfortunately upgraded from 8.5 to 8.6 – Now it gets OOM errors during compilation phase…. doesn’t respond and dies on my mac. I have 4B but I could not allocate more
Also very very slow… I removed lot of capabitlities as well but still slow.. Its only Google Web App Project.Any help is appreciated.
Thanks
support-shaliniMembersrkamineni,
Can you clarify if your version and build id are as given below?
Version: 8.6
Build id: 8.6-20100806
Also, can you look for any errors logged in the log file, located at your workspace dir > .metadata > .log?
Stephane GodinParticipantHi Shalini,
Unfortunately, I tried to replicate the issue with both “SmartGWT GPL” and “SmartGWTEE Eval” showcase without succes… it seem this is something specifically with my project (which use the commercial version of SmartGWT). Everytime I recreate a project and compile my GWT code, the issue is back… For obvious raisons, I can’t send you my code… so what are you proposing? For now, I’m running 8.5 for my GWT projects and 8.6 for everything else…
Thx!
.sg
support-shaliniMembersg,
I shall escalate this issue to the dev team member. They will get back to you on this.
Brian FernandesModerator.sg,
As Shalini asked earlier, can you please go to Help > About and please tell us what your build Id is exactly?
If you have 8.6-20100723, then you will need to update MyEclipse as there was a performance issue in workspaces with a large number of HTML / JSP files (not sure if this applies to your workspace). Go to Help > MyEclipse Configuration Center and then you should see an Update available on the Sofware tab. Please apply this update and restart MyEclipse when prompted.
Do let us Let us know if that fixes the problem or if you have a different build Id.
Stephane GodinParticipantBrian,
This information is in the first post of this thread as required by your forum guideline… but here it is again:
*** MyEclipse details: MyEclipse Enterprise Workbench Version: 8.6 Build id: 8.6-20100806 *** Eclipse details: MyEclipse Enterprise Workbench Version: 8.6 Build id: 8.6-20100806
I upgrade to Spring edition last week and see no improvement. Here the version from the installation summary:
*** MyEclipse details: MyEclipse Enterprise Workbench Version: 8.6 Build id: 8.6-20100806 *** Eclipse details: MyEclipse for Spring
Please note that i’m always using Pulse to create my profiles and manage my plug-ins. Luckily, I still have version 8.5 in it and have no CPU/Memory problem…
And yes, after a GWT compilation, the WebRoot folder contain lots of HTML/JSP.
thx,
Stephan
Stephane GodinParticipantHi,
Confirm, this is still the same issue you mention about MyEclipse having performance issue in workspaces with a large number of HTML / JSP files and GWT seems to have nothing to do in this issue. Here what I did to recreate:
-
– Create a simple WebProject with Maven support
– Transfer my compiled GWT code in WebRoot
With those two steps only, the CPU hover at 100% while the validation process is running… But after completion, one core of my CPU is still at 100% and memory usage start growing until I got the “No heap left” error… I use “MyEclipse > Utilities > Show Heap Status” to check the memory. After a couple of minute without touching the IDE, i finally got this error:
Problem Occured Background Indexer Crash Recovery Java Heap Space
And finally, MyEclipse ask to exit the workspace… and I said No… the memory & CPU usage then decline to a normal level and the IDE was running normally…
Here the log file:
!ENTRY org.eclipse.dltk.core 4 4 2010-09-16 10:21:32.640 !MESSAGE Background Indexer Crash Recovery !STACK 0 java.lang.OutOfMemoryError: Java heap space !ENTRY org.eclipse.ui 4 0 2010-09-16 10:29:12.812 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(SWT.java:3865) ... !ENTRY org.eclipse.ui 4 0 2010-09-16 10:29:12.890 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.IllegalStateException at org.eclipse.jface.text.projection.ProjectionMapping.toImageLine(ProjectionMapping.java:480) ... !ENTRY org.eclipse.dltk.core 4 0 2010-09-16 10:30:38.281 !MESSAGE error saving index !STACK 0 java.io.UTFDataFormatException at org.eclipse.dltk.internal.core.util.Util.writeUTF(Util.java:1430) ...
thx!
Stephan
Maksym GryevtsovParticipantHI,
I have similar issue. I just installed MyEclipse via Update site, As soon as you add any project with SmartGWT, eclipse tries to grab all available memory. It happens right after eclipse startup without even any recompiling.
aelgaliMemberI have the same problem as well. When i create a web project (without maven support) then i add GWT to it, it compiles fine, but when i add smartGWT to the lib folder and add
<inherits name=”com.smartgwt.SmartGwt”/>
then recompile the project i get out of memory message, if i turn all the validation off still i get the same message. i’ve noticed that SiteMesh generates invalid xml files, when i looked into the content of those files it wasn’t xml code, those files are located under “WebRoot/WEB-INF/gwt.entrypoint.GWTCrud/sc/modules and …/schemas.
please let me know if you need more details
Brian FernandesModeratorarchimed,
Thanks for the details, I’m sorry I missed them in your first post.
Thanks all for the info on smartGWT, we’re looking into this issue right now, probably something specific with the content of that library.
Stephane GodinParticipantHi,
I try to isolate the component(s) that trigger this issue and I finally found then: The SmartGWT/SmartClient JS files in WebRoot/<gwtapp_name>/sc/modules/ISC_*.js. The steps are quite easy to recreate the issue:
-
– Create the simplest Web Project possible without anything (no Maven, etc.)
– Copy <gwtapp_name>/sc/modules/ in WebRootand Voilà !… CPU at 100% and memory error is nearly instantaneous. At the end, only “ISC_Core.js” (633kb) is enough to trigger the effect… I can send you a sample project with only those component (address please?).
Thx!
Stephan
Brian FernandesModeratorStephan,
Thanks very much for your work in locating the problematic files. While our team works on this issue, one work around that you can use is to go to Project properties > MyEclipse > JavaScript > Build Path and go to the Source tab. Expand the project node, select “Excluded” and click Edit. Click Add under Inclusion patterns and select the modules folder or you can even specify a pattern that will cover just the ISC files (suggest trying with the module folder exclusion first). Does this fix the problem?
Stephane GodinParticipantSince WebRoot/<gwtapp_name> folder is automatically generated anyway when I compile my GWT app, I exclude it completely… problem gone. For now, this fix is acceptable!
Thx!
-
AuthorPosts