- This topic has 6 replies, 4 voices, and was last updated 14 years, 3 months ago by Adrian Rodriguez.
-
AuthorPosts
-
Chris CranfordParticipantI have researched several posts on varying sites that claim that MyEclipse 8.5 and beyond have addressed the slowness of the JSP editor however, I am running version 8.6 and still experiencing slowness in the JSP editor.
When I first start creating the JSP files, the Editor does not seem sluggish at all when typing, but as the file grows in length (300+ lines); the performance hit occurs.
As I type a tag, for example:
<s:a href=”
As soon as I hit the double quote portion of the tag, this is when the slowness begins and continues until the closing double quote occurs; then it goes back to normal speed.
Is there something with data inside of a tag’s attribute value block that is creating an issue with performance?
support-shaliniMemberccranford,
Sorry for the inconvenience. Can you give us some more information on this?
1. Can you clarify if your build id and version as given below :
Version: 8.6
Build id: 8.6-20100806
2. Are there any errors logged in the log file located at workspace dir > .metadata > .log?
Adrian RodriguezMemberI’m having the very same problem. I just installed 8.6. Here’s my build ID and version:
MyEclipse Enterprise Workbench
Version: 8.6
Build id: 8.6-20100806I’ve added -Xms1024m -Xmx1024m -XX:MaxPermSize=256m which solved a lot of other slowness I was having, but it seems that the JSP editor just slowly degrades to the point where I can’t use MyEclipse anymore. Everything is cool until I start typing something like <a href=”<bean:write name=”””> … It’s really bad. I can’t type for like 5 seconds. When they cursor comes back to life, I move to type and the same thing happens. This is really unusable. Will this be addressed soon b/c it’s going to be a big factor in me moving to another IDE.
Thanks for looking in to it.
support-shaliniMemberoGLOWo,
I could not replicate this at my end. Can you give some more information on this?
1. What is the OS that you are working on?
2. Are there any relevant errors logged in the log file located at workspace dir > .metadata > .log?
3. Do you get the same delay if you open your jsp pages using “MyEclipse Visual JSP Designer”?
4. How many projects are there in your current workspace?
BlakeBinkleyMemberoGLOWo: I hope you just typoed in your example, because an unclosed bean:write tag will slow you down as the validator inside Eclipse (and thusly inside myeclipse) will thrash for a long time before either giving up or indicating an error, if not you might want to turn some of the validators off IE: a html validator as well as a jsp validator as well as an EL validator will freeze the app until they all have a chance at validating the tags and providing context assist help as well.
I’m not a myeclipse support assistance but I have used eclipse for jsp design for quite a while and found the validators are the bottleneck (at least in the last few versions of Eclipse)
Adrian RodriguezMember@support-shalini:
1) I’m running Mac OS X 10.6.4 with 2.26Ghz Intel Core Duo and 8GB 1067Mhz DDR3 of RAM
2) I don’t see any errors except one that happened a few mins ago. Here’s a snippet. This is the only time I’ve seen this message though:!ENTRY org.eclipse.ui 4 0 2010-09-15 15:22:23.752
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:465)
at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:370)
at org.eclipse.jdt.internal.ui.actions.CopyQualifiedNameAction.run(CopyQualifiedNameAction.java:207)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)
3) Yes. I’ve tried both JSP and Visual JSP Editors and the delay is the same
4) I have 10 projects open. 2 have JSPs in them.
@BlakeBinkley: I was just typing it out as an example on the forum. But, I will give that validator suggestion a try to see if it helps. Thanks!
Adrian RodriguezMember@support-shalini:
1) I’m running Mac OS X 10.6.4 with 2.26Ghz Intel Core Duo and 8GB 1067Mhz DDR3 of RAM
2) I don’t see any errors except one that happened a few mins ago. Here’s a snippet. This is the only time I’ve seen this message though:!ENTRY org.eclipse.ui 4 0 2010-09-15 15:22:23.752
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:465)
at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:370)
at org.eclipse.jdt.internal.ui.actions.CopyQualifiedNameAction.run(CopyQualifiedNameAction.java:207)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)
3) Yes. I’ve tried both JSP and Visual JSP Editors and the delay is the same
4) I have 10 projects open. 2 have JSPs in them.
@BlakeBinkley: I was just typing it out as an example on the forum. But, I will give that validator suggestion a try to see if it helps. Thanks! -
AuthorPosts