[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 287
  • Last Modified:

speeding up the launch time of Eclipse

I have a MACOSX, and Java 1.5.

I have recently installed Eclipse SDK 3.2.1.

Just launching Eclipse it takes more than one minut!
How can I speed up the launching?
0
dportabella
Asked:
dportabella
  • 6
  • 4
1 Solution
 
sciuriwareCommented:
I can only say that Eclipse 3.3 on XP starts up in seconds (with JAVA 1.6.2).
As far as I know it is not possible to keep significant parts of Eclipse in memory
as the T-bit (sticky bit) in the mode only works for binary parts,
not for the .jar parts.
But of course you could read those files into cache at boot time.
Finally, you could disable some parts of Eclipse, like team, but the difference will be small.
;JOOP!
0
 
dportabellaAuthor Commented:
Hello Sciuriware,

What is the T-bit (sticky bit)?
How to "read those files into cache at boot time"?
0
 
sciuriwareCommented:
1) UNIX and UNIX-derived Operating Systems use the in 1970 filed patent by Ken Thompson sticky
file mode, that is, binaries with a mode of 1000 octal in combination with their execution mode
(e.g. 1711 = -rwx--x--t) stay in memory after their first execution to speed up new executions.
Later UNIX versions use this mode on directories to forbid removal of files by a non-owner.

2) Any program can simply read a file entirely (even wasting away the input), after which the
file is surely in the system cache for some time. This applies to all UNIX-derivates and all Windows flavors.

;JOOP!
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
dportabellaAuthor Commented:
I upgraded to Eclipse 3.2, but it still takes 55 seconds to launch (mainly loading the workbench).

Reading the eclipse files at the beginning didn't have much impact. Maybe the total size is too big to keep it in the cache.

I could not upgrade to Java 1.6, because it is still not available for MacOSX (I think).

One minute to launch Eclipse is awful.
How to speed it up?
0
 
sciuriwareCommented:
I am using 3.3 and I start (from an icon) as:

C:\eclipse\eclipse.exe -data D:\development_area -vmargs -Xmx256m -Xms128m
Fill in your own eclipse location and development directory path.
May be that's why it is quick on my system.

;JOOP!
0
 
sciuriwareCommented:
P.S.: I have:

3GHz INTEL Pentium-4, 2Gb memory, 7200 rpm IDE disks, Windows XP Home, JAVA 1.6.2, Eclipse 3.3
resulting in a startup in 12 seconds for the first time
and average 7 seconds if restarted within 10 minutes (cache).

;JOOP!
0
 
sciuriwareCommented:
B?
0
 
dportabellaAuthor Commented:
B?
I don't understand your question.
0
 
sciuriwareCommented:
You rated the answer B.
0
 
dportabellaAuthor Commented:
Eclipse is still taking 1 minute to launch.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now