- This topic has 20 replies, 6 voices, and was last updated 9 years, 6 months ago by support-swapna.
-
AuthorPosts
-
Gerald HartlingParticipantI installed MyEclipse 2015 CI and imported my existing web project that I was developing with MyEclipse 2014. I didn’t have any problems in 2014 but in 2015 CI the project is so slow that I can barely even open a menu item. It is completely unusable.
Do you have any ideas on what could be causing this or how I would debug it?
support-tonyKeymasterghartling,
I’m sorry you’re having speed issues with release 2015 CI. However, it’s not clear what the problem is. Could you answer some questions and try a few things, please?
1) When you say that “the project is so slow”, do you mean when running the project or do you mean when editing the project with MyEclipse? Please provide details of where the slowness is.
2) Are the problems only with one project?
3) Did you need to migrate the project when first opening the workspace in MyEclipse 2015? Or you could check if the project needs migrating by going to MyEclipse->Migrate Workspace.
3) Try switching to a new workspace and creating a simple web project to check if that exhibits the same issue. You might also try importing the project from the old workspace to the new one to see if that helps.
4) Create a new project in a new workspace and copy the source from the old project. Does that help?
5) Look in the .log file, located in the .metadata folder of the workspace to see if there are errors or warnings that may be of relevance, or attach the log file here for us to look at (you’ll probably have to rename the file to a .txt file to attach it).
6) Send us the project, if possible, so we can try to replicate the issue.
Please let us know if any of this helps, or provide extra information.
Nuno FerreiraMemberYou solved your problem?
I’ve done all the steps and nothing solves the problem.
The memory consumption for this eclipse is enormous. With the 2014 version everything is fine.
I believe the problem is with a bunch of errors the keeps appearing but i do not know why and what is causing.Another characteristic is that the Myeclipse process (javaw.exe) dosen’t get below 13 % when the problem appears. (attach)
Here is an example of an error:
!ENTRY org.springframework.ide.eclipse.core 4 0 2015-03-17 11:26:45.978
!MESSAGE Internal Error
!STACK 0
java.io.FileNotFoundException: class path resource [pt/company/project/manager/auth/handler/AuthFailureHandler.class] cannot be opened because it does not exist
at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
at org.springframework.ide.eclipse.core.type.asm.SimpleClassReaderFactory.getClassReader(SimpleClassReaderFactory.java:67)
at org.springframework.ide.eclipse.core.type.asm.CachingClassReaderFactory.getClassReader(CachingClassReaderFactory.java:61)
at org.springframework.ide.eclipse.core.type.asm.SimpleClassReaderFactory.getClassReader(SimpleClassReaderFactory.java:63)
at org.springframework.ide.eclipse.core.java.classreading.JdtConnectedMetadataReader.<init>(JdtConnectedMetadataReader.java:42)
at org.springframework.ide.eclipse.core.java.classreading.JdtMetadataReaderFactory.getMetadataReader(JdtMetadataReaderFactory.java:53)
at org.springframework.ide.eclipse.core.java.classreading.CachingJdtMetadataReaderFactory.getMetadataReader(CachingJdtMetadataReaderFactory.java:38)
at org.springframework.context.annotation.ConfigurationClassUtils.checkConfigurationClassCandidate(ConfigurationClassUtils.java:73)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:274)
at org.springframework.ide.eclipse.metadata.process.JdtConfigurationClassPostProcessor.postProcess(JdtConfigurationClassPostProcessor.java:87)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig$4.run(BeansConfig.java:752)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.executePostProcessor(BeansConfig.java:745)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.postProcessExternal(BeansConfig.java:679)
at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfig.readConfig(BeansConfig.java:537)
at org.springframework.ide.eclipse.beans.core.internal.model.AbstractBeansConfig.getBeans(AbstractBeansConfig.java:280)
at org.springframework.ide.eclipse.beans.core.internal.model.validation.BeansConfigReloadingProjectContributionEventListener.start(BeansConfigReloadingProjectContributionEventListener.java:110)
at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$1.execute(SpringProjectContributionManager.java:112)
at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager$9.run(SpringProjectContributionManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.execute(SpringProjectContributionManager.java:294)
at org.springframework.ide.eclipse.core.internal.project.SpringProjectContributionManager.build(SpringProjectContributionManager.java:110)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)The obvious answer is that the class don’t exist but exists.
Please help.
Attachments:
You must be logged in to view attached files.
support-tonyKeymasternps.ferreira,
Sorry you are seeing problems. Can you confirm that you tried a new workspace? If that didn’t help can you try starting MyEclipse with the -clean argument to see if that helps?
If you’re also having performance issues, please take a look at this FAQ. If that FAQ doesn’t help, please let us know the details of the performance issues you are having (you’ve mentioned the excessive memory use but is that causing performance issues on your system?).
If neither of the above suggestions solves the problem, please clear the .log file (in the .metadata folder of the workspace), replicate the issue and attach the .log file (you might need to rename it to attach it) and the output of MyEclipse->Installation Summary->Installation Details. Also, please let us know if you have added any third-party plug-ins.
Nuno FerreiraMemberHi,
I’ve create a new workspace and import the projects and the problem persists.
I’ve started the myeclipse with -clean option and the slowness persists.
The FAQ dosen’t help me because i’m not seeing any “Synchronizing script resources with Tern server”.
The details is basically the slowness of the system, after a save an automatic build is started (and this is correct) the errors appear and after the system is very slow. And the memory increases. I’ve already configured the memory to myeclipse have more available.Here is my .ini file:
#utf8 (do not remove)
-showlocation
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201103301700
-vm
binary/com.sun.java.jdk7.win32.x86_64_1.7.0.u45/bin/javaw.exe
-install
D:\Software\Eclipse Versions\MyEclipse 2015 CI
-vmargs
-Xmx1024m
-XX:MaxPermSize=512m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4I’ve only installed a SVN plugin.
I’ve uploaded the log and the installation summary files.Cheers.
Attachments:
You must be logged in to view attached files.
support-tonyKeymasternps,
Thanks for the files. As I’m investigating this, I wonder if it’s possible for you to see if a particular project is causing the problem, by creating a new workspace and importing the projects one at a time. See if you can replicate the problem, before importing the next project, until you have all projects imported. If the problem only occurs after importing a particular project, that might have some content that is causing it.
If it can be pinned down to one project, we have a better chance of replicating the problem. The only performance issue we’ve seen, prior to yours, is addressed in that FAQ I linked to.
In any case, I’ll get back to you if I have more questions.
Nuno FerreiraMemberThe problem is that a single project depends from others, i’ve got an EAR that includes several projects (JARs).
I’ve been investigate the error and i’ve concluded that the errors are contained in a single project but i don’t know why and what is causing the errors.Hope this helps a bit more to resolve the problem.
Cheers.
support-tonyKeymasternps,
Can you give more detail on the project that you think is causing the problem? If possible, sending us the project might help (you can PM it to me, if you don’t want to attach it publicly, even with stripped out source, it might be helpful).
Your log file shows some possible proxy issues. Could you check your proxy settings? In researching this, I see that some users have solved proxy issues by clearing the SOCKS setting and others have added the proxy properties, indicated in the log, to the ini file. For example:
-Dhttp.proxyPort=8080
This shouldn’t be necessary, of course, but the main thing is to get your set up working satisfactorily.
We’ve only seen those FileNotFoundException messages once before, in a much older release but the suggestion there was that the MyEclipse installation was corrupted, in some way. So a reinstall might be worth trying (though I know that could be a pain). Hopefully, downloading the installer again won’t be needed if you can check that the MD5 checksum for the installer is the same as mentioned on our download page.
However, I can’t tell if the error messages are related to the memory issue. Do the error messages appear when you perform a particular operation on that problem project, or other project? If so, please let us know (you can open the error log view to check for new messages as you work).
Sorry for not providing a definitive solution yet but please let us know if any of this helps (and please provide that errant project, if possible).
Nuno FerreiraMemberHi Tony,
I PM you with my project. It’s very big.
About the proxy issues i done what you said and same thing, error continue to apear. But i believe this is not the problem.About the new installation, i’ve already done that and the problem persists.
About the project that is causing the error, i’ve imported one by one the projects and, in contrary that i’ve said, it is just when i import the WAR project that the errors appear, so the problem must be in the WAR project, i think.
I’ve worked with MyEclipse since the versionsince the Myeclipse 5 or 7 and i’m close to saying that this version its the worst version that your company provided.
That said, i thank you for the effort of solving this problem.
Cheers.
support-tonyKeymasternps,
Thanks for the projects; they will certainly help and, yes, there are a lot of eclipse projects in there.
Although there are some missing jars, as you mentioned, I’m having trouble with the imported projects. MyEclipse is prompting to run the migration wizard, in both 2015 and 2014. Either there are missing files (not the missing jars) or you haven’t run migration. If it’s the latter, that could certainly have an impact on using the projects in MyEclipse 2015. Could you confirm whether you have run the migration wizard when importing the projects, or migrating the workspace, to 2015?
Also, which WAR project were you referring to in your last comment, as there are two WAR projects (though one of them doesn’t seem to have the dynamic web facet)?
Meanwhile, I’ll see if I can migrate the projects and try to replicate your problem.
support-tonyKeymasternps,
I managed to migrate the projects OK, though it did take a long time. However, they all have errors due to missing jars. I’ve managed to locate the Web App Libraries jars for the …WAR projects but am still missing all the EAR jars (referenced via the …EAR projects) and there are too many to track down. Could you zip them up and attach them (perhaps to a PM or in an email to tony@genuitec.com)?
Also, apart from the initial build attempts after migration, I haven’t noticed performance issues, so can you give some details about what actions are slow?
Nuno FerreiraMemberHi Tony,
My approach was of importing the projects to a new workspace and them Myeclipse popup a “Needs Migration” message and after i said OK it gives errors on the migration. So the obvious conclusion is to not migrate and try to proceed.
The war i was talking about is fevia.war.
I will try to sent to your email the libs needed but it a lot (about 50 mgs), maybe in several emails.
Cheers.
support-tonyKeymasterNuno,
Thanks for all of the files. Yes, that is a large bundle.
I still had some errors when building/validating the projects, after importing, so I’m not sure I have everything I need, but I didn’t get any slowness on menus and managed to deploy the feviaWAR project to JBoss, though it had errors so JBoss couldn’t start the app. But I didn’t get a hang.
I would definitely recommend migrating the projects (only the WAR projects really need migrating). If there are errors showing, try clicking the Migration FAQ link on the migration dialog. It should advise on any errors. I had to add a .springBeans file to one of the projects to specify the version of Spring (3.1). After that it migrated OK.
However, there were some performance issues with validation and building. Although you didn’t mention these issues, could I ask you to try turning off some validations to see if it affects the problem you have? If you go to Window->Preferences then MyEclipse->Validation, you will see a screen of validators that can be disabled/enabled. Try disabling all of the JSP, Struts and HTML validators. If that doesn’t help much, also try right clicking on the WAR project and go to Properties, then Builders and disable the JavaScript Validator. Does that help?
Rest assured that we are still looking into this and will try to figure out what is causing your problems and it will be a big help if you can try the validation disabling. It does seem that there are real issues here but we need to try to replicate exactly what you are seeing so we can track it down. If you can think of any more files or settings that we need, please let us know.
Apologies for the problems and the inconvenience.
Nuno FerreiraMemberHi Tony,
Can you send to me the errors that you are experience? Maybe i can solve it.
I gave to you all our suite of libs, so libs aren’t the issue, i have all of them.I can deploy in the Jboss, with no problem, the problem is when the jBoss is up the system (MyEclipse) is very slow.
I’ve done the migration of the projects, still remain the same slowness.
I will try to disable all the validations, but i do need some validations in the IDE, so this can’t the solution.
Thanks for the effort.
Cheers.
support-tonyKeymasterHi Nuno,
Yes, disabling validations is just to help us track this down and is not a solution, as you say.
The errors I get are too numerous to list here though I did manage to get a clean build of projects that weren’t the WAR or EAR projects, after adding definitions for the namespace prefixes ns1, ns2, ns3 and xs, to one of the WSDL files. I’ve had a number of problems with the WAR files, though it’s not clear these are real problems (e.g. a reference to an action class that the error says isn’t there, but it is). There may also be some ant build related files at the top level of the workspace that I’m missing. This leads me to wonder if you build with Ant or just with the eclipse build.
One good thing is that I did get a long delay before a context menu opened when right clicking on a project. This seems to be related to the MyEclipse Explorer. Please try closing the MyEclipse Explorer view and just using the Package Explorer. Let me know if that helps. Also, please let me know if there are any active background tasks showing in the status bar, when you experience bad performance issues.
Regarding JBoss slowing MyEclipse down, that might be a physical memory issue (JBoss will use its own memory which will come from the physical memory and maybe competes with MyEclipse). Perhaps you could try starting JBoss outside of MyEclipse to see if the effect is the same.
We continue to investigate this.
-
AuthorPosts