开发者

problem in linking viewer selection with current editor - Eclipse

I often get this error "Operation linking viewer selection with current editor finished with errors" in Eclipse Galileo.

Once this error pops 开发者_运维问答up no UI events is working in the IDE , i cant even able to close it also. Every time i have to go to task manager to stop the process , after this IDE works fine for some 5 min and again it display the same error as mentioned above.

i don't know what is happening , can you guys please help.


Just switch your Project Explorer to the Flat package presentation in Eclipse. It works :)

see details here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=530450#c7


Per the Eclipse manual:

PermGen is the permanent generation of objects in the VM (Class names, internalized strings, objects that will never get garbage-collected). An easy, if somewhat memory-hungry fix is to enlarge the maximum space for these objects by adding

-XX:MaxPermSize=128M

as an argument to the JVM when starting Eclipse. The recommended way to do this is via your eclipse.ini file.

If you are getting OutOfMemoryErrors while running Eclipse, the VM can be told to let the heap grow to a larger amount by passing the -vmargs command to the Eclipse launcher.

-vmargs
-Xms512m
-Xmx1024m

Alternatively, you can invoke the Eclipse executable with command-line arguments directly, as in

eclipse [normal arguments] -vmargs -XX:PermSize=512M -XX:MaxPermSize=1024M -Xmx1024M [more VM args]


Even with recent versions of Eclipse and Flat Package presentation, if you have a lot of large projects loaded this can still be a problem.
I've found however that if you break up your projects into working sets and minimise the amount of projects/tree nodes open by selecting a working set it can really speed up Eclipse and mitigate this problem.


I had this problem (Version: Photon Release (4.8.0)) and I fixed it by removing all breakpoints.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜