Community
Participate
Working Groups
After opening big XML file (in attach) Eclipse exits with OoM exception and not starts again (trying to reopen the same file?) Workaround... to modify workspace\.metadata\.plugins\org.eclipse.ui.workbench\workbench.xml and remove editor link.
Created attachment 49584 [details] Example XML file to load with WST
ooo, that's nasty ... an infinit loop crash! Sergy, can you attach any .log files generated? I want to see if workbench is detecting that is recoverying from a crash ... if so, I'll move this to platform, as I suspect in those cases it should never try to re-open editors.
Created attachment 49695 [details] Part of log Not sure, if it's required part of log. David, i think you can try to open attached example in WST and see it by yourself (if you aren't scared of non-starting Eclipse ;) )
Moving to platform UI for consideration. I could reproduce this problem, by using a low max heap (e.g. 100M) but the principle is the same, no matter what the heap size (and no matter how efficient our editor will become :) Seems to me that if the workbench starts, it currently recognizes that it did not shutdown cleanly (shut down from out of memory error) and then when it restarts it _should_ start up in some sort of clean state ... such as to not try and open editors that were open when it shut down. Or ... at least give the user a choice. I've noticed that's what modern tabbed browsers such as firefox and opera do ... that is when they recognize they did not end gracefully, they ask the user if they want to restore sessions, or start with fresh session.
*** This bug has been marked as a duplicate of bug 72463 ***