Re: After trying to load massive file, can't start Eclipse



On Jul 10, 11:26 am, Lord Zoltar <lord.zol...@xxxxxxxxx> wrote:
On Jul 10, 2:16 pm, "david.karr" <davidmichaelk...@xxxxxxxxx> wrote:



I would post this to the Eclipse newsgroup interface, but there is
some sort of login bug there that prevents me from being able to post
(I've alreadys submitted a bug), so I'll ask this here.

I've gotten into an annoying loop with Eclipse 3.5, where I tried to
open a file that was immense, and it ending up crashing Eclipse.  Now,
when I try to restart Eclipse, it appears it's trying to load that
file again, and it fails before I can do anything.  I've already tried
setting the -Xmx setting in eclipse.ini quite high (currently -
Xmx1536m).

I even tried renaming the problematic file in the file system (a 900kb
wsdl), so it wouldn't find it, but it still fails with internal errors
when I start up.

I've tried adding "-clean" to the command line, but that didn't help.

What can I do to get out of this loop?

How complex is the workbench? If it's easy to recreate, I would say
just delete the .metadata folder. If you're feeling more adventurous
(or you don't want to wipe out .metadata), search in the .metadata
folder (and maybe the .settings folders too) for references to the
file and remove them. There is probably some reference that tells the
IDE to load the file on startup, and if it can't load the file at all
(for some reason internal to that file) then the IDE will probably
always fail unless it doesn't have to load the file on start up.

I found the file in the list of editors in the workbench.xml, but
replacing it with a version with no editors in the list didn't fix the
problem. It still fails after working hard at startup.

Removing the entire .metadata folder does work, sort of. It really
does remove everything, including my projects, of which I had 15,
almost all of which are SVN projects.

I'm now not completely convinced the problem was caused by that file.
Perhaps it was a plugin I added recently. I found that even after
creating a new workspace, Eclipse is behaving very strangely. I guess
I'm going to have to reinstall completely and add back the plugins I
know I need.
.



Relevant Pages

  • Re: [SLE] eth0 now eth1 WTF? Network woes....The saga....[Long]
    ... > Then on a subsequent reboot the network doesn't come up. ... but the NIC fails to load and the error is "unable to load ... > On reboot, the network fails. ... dmesg says it is now trying to load eth1? ...
    (SuSE)
  • Re: Windows XP wont start up
    ... Search using Google for OEM software and buy online OEM version for less than $50; ... Upon restarting the PC XP fails to load. ... > safe mode, safe mode with prompt, previous configuration or normal all fail. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Windows XP wont start up
    ... Search using Google for OEM software and buy online OEM version for less than $50; ... Upon restarting the PC XP fails to load. ... > safe mode, safe mode with prompt, previous configuration or normal all fail. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: kernel-module-madwifi for 2.6.14-1.1644 and 2.6.14-1.1653 failures
    ... But the current build from livna.org fails to ... > 0.0-0.lvn.11.20051130@686 also fails to load. ... I can't use the new kernel on that Dell Inspiron 1200. ...
    (Fedora)