You are not logged in.

#1 2008-12-15 17:14:10

LiteHacker
Member
Registered: 2008-11-27
Posts: 38
Website

How is Eclipse compiled?

Hello everyone,

I have found that for some reason Eclipse runs slower on Linux than on my previous Windows OS on the same computer.

I've been trying to figure out how to speed it up. I see that in ArchLinux, Eclipse seems to come with gcj and gij instead of javac and java... but apparently the "javac" and "java" are emulated somehow.
I've read about these these two commands and found that apparently gcj allows you to compile into native code.

And so I ask, how was Eclipse compiled? Is it possible to compile it to work natively? Anybody know a good source of how to do this for a large system like Eclipse?

Otherwise is there some way to speed it up without turning off its features? I heard somewhere about some type of "xmx" option or something but I am not sure *where* I can apply this "xmx" setting..

Offline

#2 2008-12-15 17:29:37

Flasher
Member
From: Bavaria / Germany
Registered: 2005-04-24
Posts: 126

Re: How is Eclipse compiled?

xmx is an option in eclipse.ini to increase the maximum memory consumption.

During eclipse installation the eclipse.ini is patched to use max 512 MB RAM (orig 256 MB)

I'm using the originial eclipse (not the arch package) because I wan't to use the jdk and not the gnu java version.

Best regards,

Flasher

Last edited by Flasher (2008-12-15 17:30:03)

Offline

#3 2008-12-15 17:43:57

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: How is Eclipse compiled?

Arch uses the upstream binaries for Eclipse now:

http://www.archlinux.org/news/404/

Offline

Board footer

Powered by FluxBB