Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » galileo Hangs Creating New Class
galileo Hangs Creating New Class [message #500806] Sun, 29 November 2009 01:11 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: November 2009
Junior Member
Hi, all. I'm having a problem with eclipse galileo. Occasionally when I try to create a new class eclipse will hang for a period of time (usually around 5 minutes), showing the create class dialog and using about 25% CPU (~100% of one of my 4 cores). If I leave it it will eventually create the class and allow me to edit it OK. I'm not getting hangs at any other time (I can edit, save, run, commit to SVN etc promptly) so I'm a bit mystified as to what the problem could be. Sometimes the creation of a new class goes through almost instantly, but probably about a quarter to a third of the time it will hang for ~5 minutes. If I kill the eclipse process as soon as it hangs then restart it the file has actually been created in the workspace, so it seems like the hang comes after the creation of the file on disk, not before it. Does anyone have any ideas as to how to diagnose and solve this issue? I'd appreciate any input you could give.

System details:
OS: Vista Home Premium 32 bit
CPU: Intel Q9450 @ 2.66GHz
RAM: 4GB DDR2
GPU: ATi HD3870x2
OS HDD: 2*74GB WD Raptor, RAID0 (2 partitions, Windows on one, my eclipse workspace on the other).
Re: galileo Hangs Creating New Class [message #500810 is a reply to message #500806] Sun, 29 November 2009 05:14 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
<a.leggate@googlemail.com> wrote in message
news:heshom$m5c$1@build.eclipse.org...
> Hi, all. I'm having a problem with eclipse galileo. Occasionally when I
> try to create a new class eclipse will hang for a period of time (usually
> around 5 minutes), showing the create class dialog and using about 25% CPU
> (~100% of one of my 4 cores). If I leave it it will eventually create the
> class and allow me to edit it OK. I'm not getting hangs at any other time
> (I can edit, save, run, commit to SVN etc promptly) so I'm a bit mystified
> as to what the problem could be. Sometimes the creation of a new class
> goes through almost instantly, but probably about a quarter to a third of
> the time it will hang for ~5 minutes. If I kill the eclipse process as
> soon as it hangs then restart it the file has actually been created in the
> workspace, so it seems like the hang comes after the creation of the file
> on disk, not before it. Does anyone have any ideas as to how to diagnose
> and solve this issue? I'd appreciate any input you could give.


Get a thread dump while it's hung; that'll help you understand what it's
doing. See http://wiki.eclipse.org/How_to_report_a_deadlock for details.

Are you using M2Eclipse, or Mylyn? Those plug-ins have been known to cause
mysterious hangs, although usually not with the CPU busy as far as I know.
Re: galileo Hangs Creating New Class [message #500827 is a reply to message #500810] Sun, 29 November 2009 12:16 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: November 2009
Junior Member
Walter Harley wrote on Sun, 29 November 2009 00:14


Get a thread dump while it's hung; that'll help you understand what it's
doing. See http://wiki.eclipse.org/How_to_report_a_deadlock for details.

Are you using M2Eclipse, or Mylyn? Those plug-ins have been known to cause
mysterious hangs, although usually not with the CPU busy as far as I know.


Thanks for the response. I have created a new bug for this issue, attaching a thread dump from eclipse with it. I'm not using either Mylyn or M2Eclipse.
Re: galileo Hangs Creating New Class [message #519274 is a reply to message #500806] Mon, 08 March 2010 11:04 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: March 2010
Junior Member
Same identical problem on my Linux pc with Opensuse 11.2 x64 with 32-bit JVM and Eclipse 32-bit version
Re: galileo Hangs Creating New Class [message #529292 is a reply to message #500827] Fri, 23 April 2010 17:37 Go to previous messageGo to next message
Greg Amerson is currently offline Greg AmersonFriend
Messages: 119
Registered: March 2010
Senior Member
Any more ideas on this issue? I've been using galileo for couple of months where I have at least one hang-up per day. It randomly happens during creating a new class or new folder. I've got memory settings turned way up (both heap and permgen) so it isn't a OOM exception. Is noone else still seeing this?
Re: galileo Hangs Creating New Class [message #539346 is a reply to message #529292] Thu, 10 June 2010 13:47 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Greg Amerson wrote:
> Any more ideas on this issue?
Simply read the bug in the post to which you replied ;-)

Dani
> I've been using galileo for couple of months where I have at least
> one hang-up per day. It randomly happens during creating a new class
> or new folder. I've got memory settings turned way up (both heap and
> permgen) so it isn't a OOM exception. Is noone else still seeing this?
Re: galileo Hangs Creating New Class [message #551528 is a reply to message #500806] Fri, 06 August 2010 20:07 Go to previous messageGo to next message
David Nelson is currently offline David NelsonFriend
Messages: 1
Registered: August 2010
Junior Member
I have the exact same problem as the OP.

System setup:

Eclipse SDK

Version: 3.5.2
Build id: M20100211-1343
OS: Windows Vista 32 Bit Home Premium
CPU: Dual Core 1.7GHZ Pentium
RAM: 2GB

Thanks,
David
Re: galileo Hangs Creating New Class [message #551669 is a reply to message #551528] Mon, 09 August 2010 06:05 Go to previous message
Satyam Kandula is currently offline Satyam KandulaFriend
Messages: 444
Registered: July 2009
Senior Member
Fixed in 3.6! Look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=296411
Previous Topic:Eclipse content assist unbearably slow with Android SDK
Next Topic:problem occurred: 'Launching AAAA' has encountered a problem. BBBB does not exist
Goto Forum:
  


Current Time: Thu Apr 25 19:52:23 GMT 2024

Powered by FUDForum. Page generated in 0.02971 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top