Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353052 - Eclipse hangs on load, and on opening a file
Summary: Eclipse hangs on load, and on opening a file
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-07-25 19:32 EDT by dastmaz CLA
Modified: 2011-08-03 10:24 EDT (History)
2 users (show)

See Also:


Attachments
Dump (884 bytes, text/plain)
2011-07-25 19:33 EDT, dastmaz CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description dastmaz CLA 2011-07-25 19:32:00 EDT
Build Identifier: 20110615-0604

Eclipse is hanging upon startup. When I was lucky enough to have the IDE actually open, it would hang when trying to open a file of any extension. I've been trying for about an hour, running it with -clean and disabling any plugins I have. The error text that is being thrown is attached.

Reproducible: Always

Steps to Reproduce:
1. Open eclipse.
2. Open file.
Comment 1 dastmaz CLA 2011-07-25 19:33:19 EDT
Created attachment 200315 [details]
Dump
Comment 2 Remy Suen CLA 2011-07-25 20:35:51 EDT
Please attach a stack dump.
http://wiki.eclipse.org/index.php/How_to_report_a_deadlock
Comment 3 Oleg Besedin CLA 2011-07-26 09:27:35 EDT
Note this line in the error message:
   -vm C:\Windows\system32\javaw.exe

This is there the Eclipse gets JVM to use. The JVM has to be:

- Java 1.5 or better; preferably not an update 21 (see bug 319514);
- If 64-bit Eclipse is used, it needs 64 bit VM; if 32 bit Eclipse is used, it needs 32 bit VM
- Consider increasing PermGen: add the following line after "-vmargs" to your eclipse.ini:
-XX:MaxPermSize=256m
- consider increasing max Heap size

Does that help?
Comment 4 Oleg Besedin CLA 2011-07-26 10:30:32 EDT
(In reply to comment #3)
> Note this line in the error message:
>    -vm C:\Windows\system32\javaw.exe
> 
> This is there the Eclipse gets JVM to use.

Which can be changed by using "-vm" runtime argument with the Eclipse executable or in its ".ini" file.
Comment 5 Oleg Besedin CLA 2011-08-03 10:24:56 EDT
See comment 2 and comment 3.