Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Extremely slow (whenever i try to make changes to a widget)
Extremely slow [message #1183965] Wed, 13 November 2013 06:06 Go to next message
Evert Chin is currently offline Evert ChinFriend
Messages: 3
Registered: November 2013
Junior Member
I have a fairly decent PC with 8GB of ram and i7 processor. I am running windows 7 professional 64bit. I made a reasonably simple UI with windowbuilder. However whenever try to change or add elements, it will take more than a few minutes to parse the changes. May I know is there anything i can do to speed up the process? it got to a point i almost want to bang my head onto my keyboard, the slowness is simply unbearable .
Re: Extremely slow [message #1185346 is a reply to message #1183965] Thu, 14 November 2013 02:21 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
Changing or adding an element in WB will normally be nearly instantaneous.

What you describe sounds like an extreme low memory / swapping situation

How much memory do you have assigned to run Eclipse?

Does this happen with any UI file? Any project? Are you using any custom widgets?
Re: Extremely slow [message #1189725 is a reply to message #1185346] Sat, 16 November 2013 07:34 Go to previous messageGo to next message
Evert Chin is currently offline Evert ChinFriend
Messages: 3
Registered: November 2013
Junior Member
I just realized I can assign more memory to Eclipse.

I ran Eclipse with default parameters, this is what i got from process explorer.

-Xms40m -Xmx512m -XX:MaxPermSize=256m

What is your recommendation?
Re: Extremely slow [message #1189811 is a reply to message #1189725] Sat, 16 November 2013 08:30 Go to previous messageGo to next message
Eclipse UserFriend
On 16.11.2013 08:34, Evert Chin wrote:

> -Xms40m -Xmx512m -XX:MaxPermSize=256m
> What is your recommendation?

check out these values:

-XX:MaxPermSize=512m
-Xms2G
-Xmx2G
Re: Extremely slow [message #1211140 is a reply to message #1189811] Tue, 26 November 2013 09:26 Go to previous messageGo to next message
Evert Chin is currently offline Evert ChinFriend
Messages: 3
Registered: November 2013
Junior Member
Eclipse User wrote on Sat, 16 November 2013 03:30
On 16.11.2013 08:34, Evert Chin wrote:

> -Xms40m -Xmx512m -XX:MaxPermSize=256m
> What is your recommendation?

check out these values:

-XX:MaxPermSize=512m
-Xms2G
-Xmx2G



it does improve the performance by... a lot. especially when i use XX:MaxPermSize=2G

However i still find it constantly slow down (back to few minutes parsing time) especially when you switch from source code and modified something or did some undos.

The 'fix' would be restarting Eclipse.

[Updated on: Tue, 26 November 2013 09:38]

Report message to a moderator

Re: Extremely slow [message #1218914 is a reply to message #1211140] Fri, 29 November 2013 13:53 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
Does this happen with any UI class or a specific UI class?

If you create a new UI class with a dozen widgets, do you see this happen?
Re: Extremely slow [message #1221503 is a reply to message #1218914] Tue, 17 December 2013 21:04 Go to previous messageGo to next message
David Månsson is currently offline David MånssonFriend
Messages: 1
Registered: December 2013
Junior Member
I got a similar problem. I started useing Eclipse kepler a week ago because this project group I was assigned prefered Eclipse.

Everything was fine untill last night, the parsing time now suddenly started taking 20-30s to load. Two days ago I could swop between "Source" and "Design" - tab instantly without any noticable delay, even after adjustment. Well inside the "Design-mode" any change takes 20-30s to update, like changing JTextField size or just set variable name. When I import the very same javaproject at work or a friends computer, Eclips runs flawlessly.

* I've tried the suggestions mention above, no effect.
* I've reinstalled Kapeler and Windows Builder plug-in, several times and on several * discs.
* I've reinstalled JDK.
* I've tried different Eclipse version, some Juno versions and builders along with that.

No success. This is getting extremely frustrating and deadlines are approaching.

Re: Extremely slow [message #1222510 is a reply to message #1221503] Fri, 20 December 2013 16:17 Go to previous message
Eric Clayberg is currently offline Eric ClaybergFriend
Messages: 886
Registered: July 2009
Location: Boston, MA
Senior Member
How much memory do you have assigned to Eclipse and how much is in use? How much heap space is left?

Have you tried this with a clean Eclipse install and a clean workspace? I would use Eclipse Standard as a test.

If your workspace is corrupt, and you have been using the same one during all of the permutations listed above, that might explain why you keep seeing the same behavior on that machine but not others.
Previous Topic:How to create JTree with checkbox node in window builder?
Next Topic:misplaced selection-frame for elements
Goto Forum:
  


Current Time: Sat Dec 20 13:11:50 GMT 2014

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

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