For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 3 voices, and was last updated 12 years, 10 months ago by
support-tony.
-
AuthorPosts
-
EvardoMemberHello,
I’ve been experiencing issues with performance using myEclipse Blue SR2 Build id:11.0.2-Blue-20130823
I’ve tried a number of different performance suggestions listed on the forum such as increaseing heap size, disabling unused features, and turning off certain project validations.
On start up I dont seem to have any issues. It begins when trying to type in the editor. In this case it is any .xhtml file. Any text I type into the editor causes a few minutes pause for each input. I do not experience this is when coding inside of a <script> tag in the .xhtml or in a .java class.
Any suggestions for fixing this problem? Installtion details included in attachments.
Attachments:
You must be logged in to view attached files.October 11, 2013 at 2:45 am #343267Evardo,
Sorry that you are seeing this issue. I could not replicate the issue at my end even with a large xhtml file.
Can you please give us some more information?
1. Are you working with a very large workspace with large number of resources?
2. Are you working with the Visual XHTML Designer? If its a very large file and If you don’t use the visual aspects of the visual designer, you can use the simple text editor instead.
3. We have sometimes seen performance issues with some JavaScript libraries and adjusting how JavasScript code analysis is done has helped, at the expense of reduced functionality. These preferences can be reached in the Preferences dialog under MyEclipse->Files and Editors->JavaScript.
4. If you are still seeing issues, can you please put together a simple project with an XHTML file that exhibits the problem to help us replicate the issue at our end?
5. Also please attach the .log file which is located at <workspace dir>/.metadata/.log if there are any errors of interest logged.
October 11, 2013 at 11:45 am #343284
EvardoMemberResponses inline
@support-swapna wrote:
Evardo,
Sorry that you are seeing this issue. I could not replicate the issue at my end even with a large xhtml file.
Can you please give us some more information?
Sure. I’ve attached my .log file for my current workspace. I also have tried creating a seperate workspace and the same issues arrise with my project. My teammates are also using myEclipse, and have similar issues with .xhtml files.1. Are you working with a very large workspace with large number of resources?
No, our workspace is about 900MB (including unrelated projects). The project I’m working on is 290MB. Size of the .xhtml file is 28KB.2. Are you working with the Visual XHTML Designer? If its a very large file and If you don’t use the visual aspects of the visual designer, you can use the simple text editor instead.
I have tried with and without the Visual editor with the same results.3. We have sometimes seen performance issues with some JavaScript libraries and adjusting how JavasScript code analysis is done has helped, at the expense of reduced functionality. These preferences can be reached in the Preferences dialog under MyEclipse->Files and Editors->JavaScript.
I might have been unclear here. JavaScript code cause no performance issues. I was able to write code within the script tags on the same .xhtml page with no loss in performance. I also do not experience any performance losses when writing Java classes. I was trying to explain that issues seem to appear (for now) when working with .xhtml editor. Perhaps, I am not disabling enough of the validations?4. If you are still seeing issues, can you please put together a simple project with an XHTML file that exhibits the problem to help us replicate the issue at our end?
I will try this now and get back to you.5. Also please attach the .log file which is located at <workspace dir>/.metadata/.log if there are any errors of interest logged.See attachments.
October 11, 2013 at 11:54 am #343285
EvardoMemberAttachment doesn’t like the .log file name.
Attachments:
You must be logged in to view attached files.October 14, 2013 at 1:18 am #343321
support-tonyKeymasterEvardo,
We look forward to receiving a project with which we can try to replicate the issue.
In the meantime, could you try excluding an xhtml file from validation to see if that affects this problem? You can exclude a particular file from validation by right clicking on the file and selecting MyEclipse->Exclude From Validation.
October 14, 2013 at 2:01 pm #343339
EvardoMemberWhen I remove most of the code to reduce the size of the file, I see a gain in performance and am able to modify the file again. However, this is far from ideal.
Also tried your suggestion of excluding the .xhtml file from validation and saw no change in performance when attempting on the full code.
Unfortuantely, I’m unable to provide a sample of the code due to the proprietary nature of it. Is there any specific information about my environment that I can provide you with that might help? It’s not much, but I can provide you with the namespaces that we are using in the xhtml file.
http://www.w3.org/1999/xhtml/
http://java.sun.com/jsf/core
http://java.sun.com/jsf/html
http://java.sun.com/jsf/facelets
http://java.sun.com/jsf/portlet_2_0
http://java.sun.com/jsp/jstl/functions
http://primefaces.org/uiOctober 14, 2013 at 11:47 pm #343352
support-tonyKeymasterEdvardo,
We haven’t been able to replicate the problem here, with the information so far, so it’s difficult to say what might be causing the issue.
You mentioned that other developers are also seeing the issue; is it with all .xhtml files or just some?
You also mentioned that removing much of the code from an .xhtml file does solve the performance issue. Obviously this isn’t a solution for you but it might indicate that there is some particular construct in the files that show the issue. If you could narrow that down, it would be a big help. If a simple xhtml file can be put together (not with your proprietary code), as a test case, it should enable us to track down the root cause.
Previously, you’d mentioned that the problem is seen with other editors. Which editors have you tried? There are several editors that could be used to edit xhtml files, with varying features, down to the simple text editor, which doesn’t have context assist. Could you try several of the editors, both visual and non-visual to see which might enable you to edit the xhtml files that show this issue? If you right click on the file and select Open With/Other, you will see many MyEclipse editors in the list. Some to try would be the HTML Editor, JSP Editor, Visual HTML Designer, Visual XHTML Designer, XML Editor and, of the other editors, the Web Page Editor and the Text Editor.
Although this might have no effect, as you said other developers are experiencing the issue, it might be worth switching to a new workspace and importing a project from your normal workspace to see if that helps.
Sorry about the continued problems but this looks like a difficult issue to track down.
-
AuthorPosts

