- This topic has 19 replies, 5 voices, and was last updated 15 years, 7 months ago by Curt King.
-
AuthorPosts
-
Curt KingParticipantI’ve noticed that ME is a bit sluggish from time to time. I’ve switched to a clean workspace and it didn’t seem to make much of a difference.
I have 4GB of RAM on my computer and don’t mind throwing a good chunk of that at MyEclipse if it would help. What are your recommendations for modifying the MyEclipse.ini file to change the RAM allocated to the JVM?
Here’s the current contents of my MyEclipse.ini file:
-startup ../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar --launcher.library ../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731 -clean -configuration C:\Program Files\Genuitec\MyEclipse 7.0\configuration -vm C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll -vmargs -Xmx512M -XX:MaxPermSize=192M
Thanks,
Curt
Loyal WaterMemberCurt,
Depends what is slow — You could go as high as -Xmx640mb and 384 for the PermSize if you wanted — but with those huge sizes your GC cycles will be more severe, so every once in a while you might get the UI locked up with the VM cleans up memory.
Curt KingParticipantRight now, I’m getting UI lockups pretty frequently with just one task: when I move my cursor from an editor to the Package Explorer, it’s sometimes 2-3 seconds before the Package Explorer is responsive. I can’t move the scrollbar, click on a project, etc. That’s one of only a few places that I’ve noticed consistent sluggishness — another is the MyEclipse Web XML Editor. It’s terribly slow and I’ve begun to use the regular XML editor in its place.
Thanks,
Curt
Loyal WaterMemberCurt,
I’ll ask the dev team to look into this issue. Can you let me know if you have any EAR projects in your package explorer.Can you close those and check if the performance improves.Also, please paste your installation details here for me (MyEclipse > Installation Summary > Installation Details).
Curt KingParticipantClosing those EAR projects (and others that I’m not actively using) did make a difference with the Package Explorer delay issue. It didn’t completely fix the problem, but the delay is less noticeable.
Here’s my installation details:
*** Date: Saturday, March 21, 2009 10:07:28 AM CDT ** System properties: OS=WindowsXP OS version=5.1.0 Java version=1.5.0_11 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 7.1.1 Build id: 7.1.1-20090310 *** Eclipse details: MyEclipse Enterprise Workbench Version: 7.1.1 Build id: 7.1.1-20090310 Eclipse Platform Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu Build id: M20080911-1700 Eclipse Java Development Tools Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97 Build id: M20080709-0800 Eclipse Graphical Editing Framework GEF Version: 3.4.1.v20080806-67718083A56B4H2A3213573 Build id: 200809101400 Eclipse RCP Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341 Build id: M20080703-0800 Eclipse Plug-in Development Environment Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP Build id: M20080703-0800 Eclipse startup command=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\Program Files\Genuitec\MyEclipse 7.0\myeclipse.exe -name Myeclipse --launcher.library C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll -startup C:\Program Files\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar -clean -configuration C:\Program Files\Genuitec\MyEclipse 7.0\configuration -vm C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
Thanks,
Curt
GregMemberHello Curt,
We are looking into more aggressive performance tuning for the MyEclipse 7.5 release that is in current development. Any other details that you can provide as to your project/workspace configuration could help in this effort. We do appreciate you taking time to report your current sluggishness.
Do your projects have a large # of files of a particular type? JSP, JSF, or JavaScript? These resources when validated or if a build is performed are our more resource intensive than other types.
Curt KingParticipantHey, Greg!
I have one project (“QueriesPC”) that’s gotten a bit out of hand: >50 JSPs, 110 .java files, and 27 Javascript files. Another project houses all of my Hibernate objects, which are shared among other projects in the workspace. That project contains 66 .java files and isn’t changed often — but as I said, it is shared among other projects and probably gets rebuilt when those projects get rebuilt. A third project contains a significant number of HTML files, but few JSPs or Javascripts.
I have probably 40 projects in the workspace in total — aside from those mentioned above, none of them contain a huge number of files.
I do have four EAR projects in this workspace, which I have closed as per Nipun’s suggestion.
If I can provide any detailed info to you guys, please let me know!
Curt
GregMemberThanks Curt for your response.
One thing you could check for me, could you run myeclipse with your networking connection disabled? We had an issue recently with some XML validation that was making URL connections for validating against a standard DTD/Schema (http://java.sun.com/xxx…).
This is not likely the source of your issue, but it is something to try real quick to see if it boasts speed.
Curt KingParticipantDisabling networking didn’t really seem to make much of a difference. There’s still a 1-2 second delay when I move from the editor to the Package Explorer.
The best way to describe the delay is that it’s just long enough to be annoying 😉
Thanks,
Curt
Curt KingParticipantSorry — it dawned on me after I made the last post that you might have been thinking that disabling networking would help the speed of the Web XML Editor. Unfortunately, it didn’t help.
Curt
Loyal WaterMemberInternally during some testing we found network connections being made (for validation purposes) during focus change in the package explorer, this was causing slow-downs *exactly* as stated for some users. We found the issue and fixed it in 7.1 (we forced the code to use the local XML catalog and not use remote connections to DTDs or Schemas to validate XML files). Unfortunately we cannot reproduce a case where network traffic is re-created on our end, would you be willing to install Wireshark (http://www.wireshark.org/ – or other network sniffing software) to check your network traffic when these delay’s happen to see if MyEclipse is still creating network connections in your environment for us?
Curt KingParticipantI’m downloading Wireshark now and I’ll give it a go later this afternoon — is there anything specific you want me to look for?
Curt
newbie2009MemberHi,
I am also experiencing similar issues on my local workspace with ME7.0. Have a post running related to this.
https://www.genuitec.com/forums/topic/me7-0-is-slow/No major progress in the thread. I have reported certain exceptions as seen in the .log while I experience the sluggishness.
Anything in specific do you want to record on the network traffic? Please let me know.
Thanks
Riyad KallaMemberCurt, nothing specific beyond tying specific operations in MyEclipse to generating network traffic when it shouldn’t. I have a developer on this full time for the last 3 days and so far he’s not seeing anything inconsistent, but we know it’s there, we just aren’t sure what the perfect-storm of projects/capabilities/setups are yet to reproduce it.
newbie if you had an opportunity to get your hands on Wireshark (wireshark.org) and take a look as well, that would be hugely helpful.
newbie2009Memberhi,
I did not get a chance to try out wireshark. Looks like a little learning curve is required to make that work.Otherwise, I have some data to share with. Not sure if that would help here. I ran the netstat command with interval set so that I get to see the before and after images. There seems to an entry of the below sort reported whenever I rightclick on the EAR project.
TCP <mymachinename>:2080 72.5.124.55:http SYN_SENT
And 72.5.124.55 is the IP address of java.sun.com, which it takes from the xmlns definition of my application.xml
In the .log of the workspace, the below error is reported.
!ENTRY com.genuitec.eclipse.j2eedt.core 1 0 2009-04-02 07:54:54.671
!MESSAGE Unable to read application.xml
!STACK 0
com.genuitec.eclipse.core.GenuitecCoreException: No route to host: connectMay be you can try with the application.xml having the xmlns definition as below to reproduce this scenario.
<application version=”1.4″ xmlns=”http://java.sun.com/xml/ns/j2ee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd”>
Thanks
Giri -
AuthorPosts