May 15, 2018 at 4:47 pm #586351
Editing files (java, jsp, js, xml) that I have had no problem editing before using default MyEclipse editors. Now when I type anything – code, space, or a comment – I get a spinning blue progress wheel and MyEclipse is Not Responding for a long time (dozens of seconds or longer). This only started happening after installing CodeMix. I have 64-bit MyEclipse 2017 CI latest and latest CodeMix, on Windows 7 pro 64-bit, java 8, 32 GB RAM and 2 quad-core i7 CPU @ 2.7 GHz. MyEclipse and computer have been restarted.
Maybe it is https://www.genuitec.com/issue-tracker/33081/, but I can’t see any details there so it’s hard to say. Whatever it is, it is making this IDE unusable.May 15, 2018 at 4:52 pm #586352
Ouch! First off, I’m not aware of a specific issue like this lingering in the product but definitely want to get to the bottom of it!
To disable CodeMix temporarily, you can go to the Preferences > CodeMix area and check [ ] Temporarily disable CodeMix functionality.
That said, I’d really like to be able to get to the bottom of this. Two questions – bottom left, do you see CodeMix with a blue checkmark in your status bar? If it shows connected, if it freezes long enough to run a command, getting a jstack dump at the same time as it is frozen would be invaluable.
has some pointers on how to use jstack. In short, it is
jstack -p <pid>with the PID of the MyEclipse process.
Thanks and sorry you are hitting this!October 2, 2018 at 2:00 pm #599793
This issue went away for a while, thankfully. I could not debug it, and I assumed it was something fixed in a later update. Now I’ve updated to CodeMix 2 and … after an hour I’m still waiting for CodeMix Validation task to complete, while editors are either very slow or unresponsive. Project has thousands of files, a huge legacy project with mixture of html, js, java, jsp, xml, etc … Can this be fixed apart from turning off validation? Like run validation separately and at a lower priority than UI responsiveness.October 2, 2018 at 2:02 pm #599794
Can you grab a quick screenshot of the validators that are running in the Progress view? CodeMix’s validators by default do not do (or should not do) any validation until you opt-in to run them in CodeMix 2. A screenshot will help confirm what validator(s) are impacting your workspace.October 2, 2018 at 3:04 pm #599805
It finally finished and things are back to normal after a couple hours of validation. I do have CodeMix Project Validation enabled…do you want screen captures of all those settings? The progress view just said CodeMix Validation, and then something like 1,975 of 3,995 files… The problems view is showing 56,643 errors, most of which are in old JSP code that we are in process of refactoring / purging. I will try turning off JSP validation and see if that helps.
Bottom line for me is: validation is great, but shouldn’t come at expense of rest of IDE. Editors, search, team synchronization, just about everything I use regularly was painfully slow while validation was running. It’s back to normal now, which is great <whew!>, but I’d like to avoid this when I open up other projects that are currently closed (and are branches of the project I’m working on).October 2, 2018 at 3:19 pm #599806
Most interesting would be a quick check if HTML+JS might have equaled the 3,995 files you saw validating? If the only file pattern is JSP, then screenshots of the different pages under Validation would be helpful, including the disabled validators area and the Languages section that controls file extensions around JSP (it should be unchecked by default).
Thanks for all the details.October 2, 2018 at 3:34 pm #599809
Off topic kinda, but there are tons of js validation errors like:
Cannot find name ‘jQuery’
Cannot find name ‘ko’
Is there a way I can tell the validator, “there’s a thing in my project called jQuery (you might know it as $), and there’s another thing called ko (also known as knockout).”October 2, 2018 at 3:45 pm #599810
I’ll ask the gurus about your Q though regarding mapping names like that during validation.October 2, 2018 at 3:59 pm #599811
I looked through the validation config and I believe it’s all the defaults with *.jsp excluded, as you said. Exception I think is Velocity from the eclipse marketplace vscode extension.
With all that I get in the neighborhood of 3,995:
I also put the
Hi, jumping in to add a voice/experience on this. I installed CodeMix in Eclipse last week to work on a VueJS project. It progressively gets so slow that it becomes unusable. Exactly the experience that Mike reported. The difference is that there is no validation going on in the background. In fact, the progress console shows no activity. This morning I temporarily disabled CodeMix and the IDE is back to normal. But now I REALLY miss it and didn’t even realize how helpful it was on .vue files. Has there been any more progress on this kind of behavior?December 29, 2018 at 1:01 pm #605950
I thought I would try to re-enable CodeMix. After it was re-enabled it is much faster. In the interim I had modified the settings json to include a path to php7. Not sure if that was related, I doubt it. I’ll keep you posted if it slows down again.December 31, 2018 at 12:55 am #606026
Thanks for your observations and will let the development team know. Please do let us know if you start to see the problem again, and please include as much information about your set-up and scenario as possible, to help us investigate.
Thanks also for your comments on what CodeMix gives you, it’s great to get confirmation that we’re making a difference!December 31, 2018 at 4:15 pm #606089
Back again. So it’s been about 2 days of dev since my last post, about 20 hours of work in total, no shutdowns or restarts. Today the same thing started happening. Getting SUPER slow, to the point that I can type “console.log(“, go get a cup of coffee, and come back to watch it type onto the screen. This time, rather than disabling CodeMix, I just restarted Eclipse and boom, back in business. Fast again. I’m running:
Eclipse IDE for PHP Developers
Version: Photon Release (4.8.0)
Build id: 20180619-1200
on MacOS 10.11.6
This won’t stop me from using the product, but it definitely impacts my workflow negatively. Let me know if I can provide any system vars or other info. I’ll be curious to see if my work computer which is running High Sierra and is newer will have the same issues when I get back to the office in 2 days.January 2, 2019 at 12:49 am #606151
Thank you for the details and sorry about the negative experience.
If you could get 3-4 thread dumps during the period of slowness, that would help us figure out what process is running. To take a thread dump, you will need to run
jstack -l 9000 > dump1.txt
Please replace 9000 with the PID of the Eclipse process, the jstack program can be found in the bin directory of any JDK installation. If you can generate 3-4 dumps (sent to different files, of course) during the period of slowness, and attach those files here, that could help a great deal.
Apologies for inconvenience caused.
Genuitec SupportJanuary 2, 2019 at 11:01 am #606177
1) If you can catch us on Live Chat, we have some diagnostic tools that would make it easier for us to figure out what is going on with your installation. You do need CodeMix installed, and you can get into Live Chat from Help > CodeMix > Live Chat.
2) We’ve recently noticed a few users experiencing performance issues with the TypeScript Hero extension. If you go to Help > codeMix Extensions, can you see if you have this installed? If yes, uncheck the box next to the extension to disable it. Please let us know if this fixes your performance issues.
MyEclipse not responding after installing CodeMix
- This topic has 14 replies, 6 voices, and was last updated 4 years ago by .
Viewing 15 posts - 1 through 15 (of 15 total)
Viewing 15 posts - 1 through 15 (of 15 total)