- This topic has 8 replies, 3 voices, and was last updated 9 years, 10 months ago by support-swapna.
-
AuthorPosts
-
fenyoapaParticipantjs editor crashes time to time.
I start edit a js file and the screen gets white and I lost the cursor and only force close MyEclipse helps.
CPU runs at 13%.
In other cases there is no crash but high CPU usage continously.
I discovered that maybe node.exe causes the trouble, it is here:
…\Genuitec\MyEclipse 2015 CI\plugins\com.genuitec.eclipse.mobile.embedded.nodejs_0.10.26.win32-x86_64-me20140925-1236\nodejs\node.exe
I have attached all info.Regards, Laszlo
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorHi,
Sorry that you are seeing this issue. Thank you for the files.
We have released an update to MyEclipse 2015 CI earlier this month. Please go to Help > Check for Updates and apply the update. Restart the IDE when it prompts to.
If you are working with a large workspace or if your project has large number of js files, you might have to increase the memory.Please try increasing the memory settings (-Xmx value) in the myeclipse.ini file (can be found in the same folder as your MyEclipse executable) and check if the issue persists.
If you are still seeing issues, please switch to a new workspace, replicate the issue and send us the .log file which is located at <workspace dir>/.metadata/.log to help us investigate further.
Let us know how it works for you.
fenyoapaParticipantDear Swapna,
thank you.
I applied the update and increased the memory in myeclipse.ini to 1024m.
Now, every time I open a js file this ‘Progress’ starts: “Synchronizing script resources with Tern server…” and runs for long minutes and this message appears: “Completion proposals are still being calculated. Try again in a few seconds…”.
It starts even if I just click/switch to the js editor window or start typing (every time).
If I turn off Preferences->MyEclipse->JavaScript->Tern->Tern server type to ‘– Choose your server type –‘ then I get errors:
An internal error occurred during: “Calculating completion proposals…”.
java.lang.NullPointerException
at com.genuitec.eclipse.javascript.tern.MyEclipseTernProject$CompletionJob.run(MyEclipseTernProject.java:253)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)It would be ok for me if proposals not work (without this Tern) but the error popups are annoying.
With this Tern server the “Synchronizing…” process take too long and too many times.If I create a new Workspace as you advised and copy some js file to it then it works, but maybe if I move my entire workspace to the new workspace it would be the same (I didn’t try).
I attached the .log file from my new workspace and from the original, too.Regards, Laszlo
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorHi,
Sorry that you are still seeing issues.Thank you for the files.
Can you please import all your projects to the new workspace and check if the issue persists ? If the new workspace works fine, then please send us your old workspace to help us investigate further.
If the workspace is large, then cut down to just a sample project,delete any heavy disk space plugin settings and send it for further investigation.
Let us know how it works for you.
support-swapnaModeratorHi,
We are releasing an update to MyEclipse 2015 CI later today. We have implemented support for exclusions in the Java Script path (JavaScript Resources property page). Expand the source folder node on the Source tab.Double click on ‘Excluded’ to add the exclusion patterns.You can add framework directory to exclusions and select that framework on Tern Modules (Technologies) tab.
If possible, please update to CI 9 when it releases and check if it helps resolve the issue. If you are still seeing issues, please also let us know the JS technologies you are working with to help us replicate the issue at our end.
RichardMemberI am having the same general issue the original poster states. I just want to turn this feature off, but cannot uncheck it. I am not sure how excluding would effect the project since it is thousands of JS and JSP files.
For those of us that are inheriting projects, this statement might not make much sense, “You can add framework directory to exclusions and select that framework on Tern Modules (Technologies) tab. ” Partially because I cannot find a technologies tab in the base MyEclipse. And what I can find is not editable, just a large list of things that we do not use.
Are all the solution you are referring to based on a higher level of MyEclipse versioning?
Plain and simple, I want to turn this off so I stop losing up to an hour each day waiting on a process that is not helpful to me.
support-swapnaModeratorRichard,
Sorry that you are seeing issues.
If you do not want content assist at all, then you can remove everything from the sources tab of the JavaScript Resources property page and only add those folders you would like to have content assist from.
Here is the documentation for JavaScript development in MyEclipse : https://www.genuitec.com/products/myeclipse/learning-center/web/myeclipse-javascript-development-overview/
Let us know how it works for you.
RichardMemberI tried to remove the technologies, but you cannot remove Browser and ECMAScript 5. If you try, they just come back.
I have changed the include to a single tiny js file and the exclude to all the main ext directories. this appears to reduce the number and duration of the synchronization attempts, so that works for me!
support-swapnaModeratorRichard,
Glad that you got it working. About the issue with removing ‘Browser’ and ‘ECMAScript 5’ technologies, I have raised a bug for the dev team to look into it. Thank you for pointing to it. The team is aware of the performance issues with JavaScript and is actively working on resolving them.
Sorry for inconvenience caused. Let us know if you see any issues.
-
AuthorPosts