Eclipse hangs on startup
I've had exactly the same problem and could solve it using the answer here https://stackoverflow.com/a/5504530/1275767 which works by moving the projects out of the workspace and back in again after Eclipse has been started and stopped.
Starting it with -clean -data started eclipse but whenever I switched the workspace using the eclipse gui it wouldn't load.
How do I prevent Eclipse from hanging on startup?
This may not be an exact solution for your issue, but in my case, I tracked the files that Eclipse was polling against with SysInternals Procmon, and found that Eclipse was constantly polling a fairly large snapshot file for one of my projects. Removed that, and everything started up fine (albeit with the workspace in the state it was at the previous launch).
The file removed was:
<workspace>\.metadata\.plugins\org.eclipse.core.resources\.projects\<project>\.markers.snap
Eclipse hanging on start up
Yup, JavaHL was the likely cuprit as installing it solved the problem. It's still odd that Eclipse never hung before due to this reason, but after a crash, it did.
Eclipse freezing at startup - before loading workspace
Found my problem. The Google GWT plugin does not clean up after itself and leaves lots of files in the Temp folder (C:\Documents and Settings{username}\Local Settings\Temp on XP). I had over 100000 files and several thousand folders in here - with over 99% of them due to the Google GWT plugin. I removed these and now Eclipse starts in a few seconds instead of 20 minutes. Plus my whole machine is generally running more smoothly.
How do I prevent Eclipse from hanging on startup?
This may not be an exact solution for your issue, but in my case, I tracked the files that Eclipse was polling against with SysInternals Procmon, and found that Eclipse was constantly polling a fairly large snapshot file for one of my projects. Removed that, and everything started up fine (albeit with the workspace in the state it was at the previous launch).
The file removed was:
<workspace>\.metadata\.plugins\org.eclipse.core.resources\.projects\<project>\.markers.snap
How do I prevent Eclipse from hanging on startup?
This may not be an exact solution for your issue, but in my case, I tracked the files that Eclipse was polling against with SysInternals Procmon, and found that Eclipse was constantly polling a fairly large snapshot file for one of my projects. Removed that, and everything started up fine (albeit with the workspace in the state it was at the previous launch).
The file removed was:
<workspace>\.metadata\.plugins\org.eclipse.core.resources\.projects\<project>\.markers.snap
Eclipse : how to prevent it from loading all the open files on startup?
opened a bug on eclipse, after the help from there, it turns out this is caused by the vrapper plugin I installed. For more details, https://bugs.eclipse.org/bugs/show_bug.cgi?id=377368
Related Topics
Do/Can Abstract Classes Replace Interfaces
Why Have One Jvm Per Application
Java Creating a New Objectinputstream Blocks
Print All the Spring Beans That Are Loaded
Parsing a Fixed-Width Formatted File in Java
Jpa, How to Use the Same Class (Entity) to Map Different Tables
How to Find the Source Code for Java's Square Root Function
How to Properly Do a Background Thread When Using Spring Data and Hibernate
Download Large File from Server Using Rest Template Java Spring MVC
Pass Array to Oracle Procedure
Compareto with Primitives -> Integer/Int
How to Capture Video Using Jmf, But Without Installing Jmf
How to Set Tls Version on Apache Httpclient